mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-21 00:53:04 +02:00
feature 2601: Allow searching by ip in admin history
also remove php warnings when tags zere deleted after visits git-svn-id: http://piwigo.org/svn/trunk@14688 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -137,6 +137,11 @@ SELECT
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
if (isset($search['fields']['ip']))
|
||||
{
|
||||
$clauses[] = 'IP LIKE "'.$search['fields']['ip'].'"';
|
||||
}
|
||||
|
||||
$clauses = prepend_append_array_items($clauses, '(', ')');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user