includes/pageprocess.php
changeset 1180 4829d15d2782
parent 1175 1e2c9819ede3
child 1216 4125e19d3b27
--- a/includes/pageprocess.php	Fri Dec 18 20:57:28 2009 -0500
+++ b/includes/pageprocess.php	Fri Dec 18 21:01:09 2009 -0500
@@ -869,8 +869,8 @@
     $page_name = $db->escape($page_name);
     $time = time();
     
-    $q = $db->sql_query('INSERT INTO ' . table_prefix . "logs ( log_type, action, page_id, namespace, author, edit_summary, time_id, date_string ) VALUES\n"
-                      . "  ( 'page', 'rename', '{$this->page_id}', '{$this->namespace}', '$username', '$page_name', '$time', 'DATE_STRING COLUMN OBSOLETE, USE time_id' );");
+    $q = $db->sql_query('INSERT INTO ' . table_prefix . "logs ( log_type, action, page_id, namespace, author, author_uid, edit_summary, time_id, date_string ) VALUES\n"
+                      . "  ( 'page', 'rename', '{$this->page_id}', '{$this->namespace}', '$username', $session->user_id, '$page_name', '$time', 'DATE_STRING COLUMN OBSOLETE, USE time_id' );");
     if ( !$q )
       $db->_die();