summary refs log tree commit diff stats
path: root/includes/updatePending.php
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2008-12-07 20:25:36 -0500
committerStarla Insigna <hatkirby@fourisland.com>2008-12-07 20:25:36 -0500
commit25a101d128ada4cac4e634b1c0fdd881551fd376 (patch)
tree16189519d01940f01c6a91c4786508c080aefc2f /includes/updatePending.php
parent9a4c37255351aadc223bb9609623888cb01d5fde (diff)
downloadfourisland-25a101d128ada4cac4e634b1c0fdd881551fd376.tar.gz
fourisland-25a101d128ada4cac4e634b1c0fdd881551fd376.tar.bz2
fourisland-25a101d128ada4cac4e634b1c0fdd881551fd376.zip
Redid multiple tag system
This new tag system has a seperate table for tags. This way, a tag cloud can be made much more easily than if using the previous system.

This changeset requires manual maintinence.
Diffstat (limited to 'includes/updatePending.php')
-rwxr-xr-xincludes/updatePending.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/updatePending.php b/includes/updatePending.php index 79ab1c4..9a9b508 100755 --- a/includes/updatePending.php +++ b/includes/updatePending.php
@@ -40,7 +40,7 @@ if ((!isset($disablePendingQueue)) && (date('j') != 'Sat'))
40 $getpost2 = mysql_query($getpost); 40 $getpost2 = mysql_query($getpost);
41 $getpost3 = mysql_fetch_array($getpost2); 41 $getpost3 = mysql_fetch_array($getpost2);
42 42
43 postBlogPost($getpost3['title'], $getpost3['author'], $getpost3['tags'], $getpost3['text']); 43 postBlogPost($getpost3['title'], $getpost3['author'], explode(',', $getpost3['tags']), $getpost3['text']);
44 44
45 $delpost = "DELETE FROM pending WHERE id = " . $getpost3['id']; 45 $delpost = "DELETE FROM pending WHERE id = " . $getpost3['id'];
46 $delpost2 = mysql_query($delpost); 46 $delpost2 = mysql_query($delpost);