equal
deleted
inserted
replaced
37 if ( !$q ) |
37 if ( !$q ) |
38 $db->_die(); |
38 $db->_die(); |
39 $row = $db->fetchrow(); |
39 $row = $db->fetchrow(); |
40 $db->free_result(); |
40 $db->free_result(); |
41 $count = intval($row['num']); |
41 $count = intval($row['num']); |
42 $q = $db->sql_unbuffered_query('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;'); |
42 $q = $db->sql_query('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;'); |
43 if ( !$q ) |
43 if ( !$q ) |
44 $db->_die(); |
44 $db->_die(); |
45 |
45 |
46 $html = paginate( |
46 $html = paginate( |
47 $q, |
47 $q, |