equal
deleted
inserted
replaced
100 else |
100 else |
101 { |
101 { |
102 $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;'; |
102 $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;'; |
103 } |
103 } |
104 $q = $db->sql_query($l); |
104 $q = $db->sql_query($l); |
105 while($r = $db->fetchrow()) |
105 while($r = $db->fetchrow($q)) |
106 { |
106 { |
107 $return .= seclog_format_inner($r); |
107 $return .= seclog_format_inner($r); |
108 } |
108 } |
109 $db->free_result(); |
109 $db->free_result(); |
110 // } |
110 // } |