1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-20 05:11:42 +02:00

PHP warning fixes.

This commit is contained in:
Cameron
2020-12-29 09:48:36 -08:00
parent 75f595adb0
commit 21e3c3f8ab
16 changed files with 93 additions and 91 deletions

View File

@@ -4474,7 +4474,7 @@ class e_admin_controller_ui extends e_admin_controller
$searchable_types[] = 'method';
}
if($var['__tableField'] && trim($searchQuery) !== '' && in_array($var['type'], $searchable_types) )
if(!empty($var['__tableField']) && trim($searchQuery) !== '' && in_array($var['type'], $searchable_types) )
{
// Search for customer filter handler.
$cutomerSearchMethod = 'handle'.$this->getRequest()->getActionName().$this->getRequest()->camelize($key).'Search';