Fixed author_uid in activation request insertion
authorDan
Sun, 10 Jan 2010 17:13:03 -0500
changeset 1211 488294ceee13
parent 1210 ad49fa34ff3c
child 1212 db2edac4e5a7
Fixed author_uid in activation request insertion
includes/sessions.php
--- a/includes/sessions.php	Wed Jan 06 02:20:53 2010 -0500
+++ b/includes/sessions.php	Sun Jan 10 17:13:03 2010 -0500
@@ -2246,7 +2246,7 @@
   function admin_activation_request($u)
   {
     global $db;
-    $this->sql('INSERT INTO '.table_prefix.'logs(log_type, action, time_id, date_string, author, author_uid, edit_summary) VALUES(\'admin\', \'activ_req\', '.time().', \''.enano_date(ED_DATE | ED_TIME).'\', \''.$this->username.'\', ' . $session->user_id . ', \''.$db->escape($u).'\');');
+    $this->sql('INSERT INTO '.table_prefix.'logs(log_type, action, time_id, date_string, author, edit_summary) VALUES(\'admin\', \'activ_req\', '.time().', \''.enano_date(ED_DATE | ED_TIME).'\', \''.$this->username.'\', \''.$db->escape($u).'\');');
   }
   
   /**