changeset 413 | 6607cd646d6d |
parent 411 | d1a95497b68f |
child 504 | bc8e0e9ee01d |
--- a/plugins/admin/SecurityLog.php Mon Feb 11 14:33:49 2008 -0500 +++ b/plugins/admin/SecurityLog.php Tue Feb 12 00:37:46 2008 -0500 @@ -102,7 +102,7 @@ $l = 'SELECT action,date_string,author,edit_summary,time_id,page_text FROM '.table_prefix.'logs WHERE log_type=\'security\' ORDER BY time_id DESC, action ASC;'; } $q = $db->sql_query($l); - while($r = $db->fetchrow()) + while($r = $db->fetchrow($q)) { $return .= seclog_format_inner($r); }