summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2008-12-09 19:14:13 -0500
committerStarla Insigna <hatkirby@fourisland.com>2008-12-09 19:14:13 -0500
commit1560a8bb34f44895bd4a2a8cac97fdcd1b9d84a4 (patch)
treed905008b9996924b4bfdda6083a1b79fc299e0ba
parentea0a51e354a409146f164af0f25b92262bfc93af (diff)
downloadfourisland-1560a8bb34f44895bd4a2a8cac97fdcd1b9d84a4.tar.gz
fourisland-1560a8bb34f44895bd4a2a8cac97fdcd1b9d84a4.tar.bz2
fourisland-1560a8bb34f44895bd4a2a8cac97fdcd1b9d84a4.zip
Fixed pending update tag problem
The pending post automatic poster was accidentally not posting the tags
that go along with the posts because it was not updated when the new tag
system came out.
-rwxr-xr-xincludes/updatePending.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/updatePending.php b/includes/updatePending.php index 9a9b508..c734c9c 100755 --- a/includes/updatePending.php +++ b/includes/updatePending.php
@@ -40,7 +40,8 @@ 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'], explode(',', $getpost3['tags']), $getpost3['text']); 43 postBlogPost($getpost3['title'], $getpost3['author'], explode(',', getTags($getpost3['id'], 'pending')), $getpost3['text']);
44 removeTags($getpost3['id'], 'pending');
44 45
45 $delpost = "DELETE FROM pending WHERE id = " . $getpost3['id']; 46 $delpost = "DELETE FROM pending WHERE id = " . $getpost3['id'];
46 $delpost2 = mysql_query($delpost); 47 $delpost2 = mysql_query($delpost);