From a930e827048acf17d04a6af06c1616a72dee714a Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Sun, 7 Dec 2008 16:45:24 -0500 Subject: Added support for a variable amount of tags Previously, the blogging engine only allowed for three tags per post, and it also stored each in seperate fields. Now, all tags are stored in one field and there can be more than three. The only functionality that has been removed because of this is that now, on archive pages, tags are not shown next to the current month's posts as they used to be, because the Four Island templating system does not yet support sub-blocks of sub-blocks. --- includes/updatePending.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/updatePending.php') diff --git a/includes/updatePending.php b/includes/updatePending.php index 6e9ff06..79ab1c4 100755 --- a/includes/updatePending.php +++ b/includes/updatePending.php @@ -40,7 +40,7 @@ if ((!isset($disablePendingQueue)) && (date('j') != 'Sat')) $getpost2 = mysql_query($getpost); $getpost3 = mysql_fetch_array($getpost2); - postBlogPost($getpost3['title'], $getpost3['author'], $getpost3['tag1'], $getpost3['tag2'], $getpost3['tag3'], $getpost3['text']); + postBlogPost($getpost3['title'], $getpost3['author'], $getpost3['tags'], $getpost3['text']); $delpost = "DELETE FROM pending WHERE id = " . $getpost3['id']; $delpost2 = mysql_query($delpost); -- cgit 1.4.1