Case sentive per le categorie degli allegati
This commit is contained in:
parent
0a9de39786
commit
4f11ff8a23
|
@ -54,7 +54,7 @@ class FileManager implements ManagerInterface
|
|||
foreach ($categories as $category) {
|
||||
$category = $category['category'];
|
||||
|
||||
$rs = $dbo->fetchArray('SELECT * FROM `zz_files` WHERE `category`'.(!empty($category) ? '= '.prepare($category) : 'IS NULL').' AND `id_record` = '.prepare($options['id_record']).' AND '.$where);
|
||||
$rs = $dbo->fetchArray('SELECT * FROM `zz_files` WHERE BINARY `category`'.(!empty($category) ? '= '.prepare($category) : 'IS NULL').' AND `id_record` = '.prepare($options['id_record']).' AND '.$where);
|
||||
|
||||
if (!empty($rs)) {
|
||||
$result .= '
|
||||
|
|
Loading…
Reference in New Issue