mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-19 08:02:59 +02:00
make sure get_sql_condition_FandF() doesn't generate corrupted SQL code
git-svn-id: http://piwigo.org/svn/trunk@19333 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -1491,7 +1491,7 @@ function get_sql_condition_FandF(
|
||||
{
|
||||
$sql_list[]=$table_prefix.'level<='.$user['level'];
|
||||
}
|
||||
else
|
||||
else if ( !empty($user['image_access_list']) and !empty($user['image_access_type']) )
|
||||
{
|
||||
$sql_list[]=$field_name.' '.$user['image_access_type']
|
||||
.' ('.$user['image_access_list'].')';
|
||||
|
||||
Reference in New Issue
Block a user