summary refs log tree commit diff stats
path: root/includes/updatePending.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/updatePending.php')
-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);