mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-27 19:59:56 +03: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:
parent
db0d42395c
commit
1307d0708e
3 changed files with 30 additions and 25 deletions
|
@ -137,6 +137,11 @@ SELECT
|
|||
);
|
||||
}
|
||||
}
|
||||
|
||||
if (isset($search['fields']['ip']))
|
||||
{
|
||||
$clauses[] = 'IP LIKE "'.$search['fields']['ip'].'"';
|
||||
}
|
||||
|
||||
$clauses = prepend_append_array_items($clauses, '(', ')');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue