mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
- added acp_language (language pack management)
- minor adjustments to cope with PHP5.x git-svn-id: file:///svn/phpbb/trunk@5315 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -60,7 +60,7 @@ class acp_logs
|
||||
$where_sql";
|
||||
$db->sql_query($sql);
|
||||
|
||||
add_log('admin', 'LOG_' . strtoupper($mode) . '_CLEAR');
|
||||
add_log('admin', 'LOG_CLEAR_' . strtoupper($mode));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -117,7 +117,8 @@ class acp_logs
|
||||
{
|
||||
$data = array();
|
||||
|
||||
foreach (array('viewtopic', 'viewlogs', 'viewforum') as $check)
|
||||
$checks = array('viewtopic', 'viewlogs', 'viewforum');
|
||||
foreach ($checks as $check)
|
||||
{
|
||||
if (isset($row[$check]) && $row[$check])
|
||||
{
|
||||
|
Reference in New Issue
Block a user