Zeile 6 | Zeile 6 |
---|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/eula.html *
|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/eula.html *
|
* $Id: post.php 3596 2008-01-20 08:27:39Z Tikitiki $
| * $Id: post.php 4005 2008-07-10 17:53:25Z Tikitiki $
|
*/
// Disallow direct access to this file for security reasons
| */
// Disallow direct access to this file for security reasons
|
Zeile 776 | Zeile 776 |
---|
$cache->updatemailqueue(); } $thread_update = array("replies" => "+1");
|
$cache->updatemailqueue(); } $thread_update = array("replies" => "+1");
|
$query = $db->simple_select(TABLE_PREFIX."attachments", "COUNT(aid) AS attachmentcount", "pid='{$this->pid}' AND visible='1'"); $attachmentcount = $db->fetch_field($query, "attachmentcount");
$thread_update['attachmentcount'] = "+{$attachmentcount}";
| |
// Update forum count update_thread_counters($post['tid'], $thread_update);
| // Update forum count update_thread_counters($post['tid'], $thread_update);
|