includes/sessions.php
changeset 1211 488294ceee13
parent 1206 50f6c144ec68
child 1216 4125e19d3b27
--- 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).'\');');
   }
   
   /**