[Customisation Database Commits] r1039 - /trunk/titania/includes/hooks/_hook_phpbb.com.php

Nathan Guse exreaction at phpbb.com
Sat Apr 10 15:50:52 BST 2010


Author: exreaction
Date: Sat Apr 10 15:50:52 2010
New Revision: 1039

Log:
Should be set as ITEM_LOCKED

Modified:
    trunk/titania/includes/hooks/_hook_phpbb.com.php

Modified: trunk/titania/includes/hooks/_hook_phpbb.com.php
==============================================================================
*** trunk/titania/includes/hooks/_hook_phpbb.com.php (original)
--- trunk/titania/includes/hooks/_hook_phpbb.com.php Sat Apr 10 15:50:52 2010
***************
*** 174,180 ****
  
  	// Make sure the topic is locked
  	$sql = 'UPDATE ' . TOPICS_TABLE . '
! 		SET topic_status = ' . (int) $options['topic_status'] . '
  		WHERE topic_id = ' . $post_object->topic->phpbb_topic_id . '
  			AND topic_moved_id = 0';
  	phpbb::$db->sql_query($sql);
--- 174,180 ----
  
  	// Make sure the topic is locked
  	$sql = 'UPDATE ' . TOPICS_TABLE . '
! 		SET topic_status = ' . ITEM_LOCKED . '
  		WHERE topic_id = ' . $post_object->topic->phpbb_topic_id . '
  			AND topic_moved_id = 0';
  	phpbb::$db->sql_query($sql);




More information about the customisationdb-commits mailing list