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:
rvelices 2012-05-02 20:24:28 +00:00
parent db0d42395c
commit 1307d0708e
3 changed files with 30 additions and 25 deletions

View file

@ -137,6 +137,11 @@ SELECT
);
}
}
if (isset($search['fields']['ip']))
{
$clauses[] = 'IP LIKE "'.$search['fields']['ip'].'"';
}
$clauses = prepend_append_array_items($clauses, '(', ')');