mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-24 10:22:18 +00:00
- Added function isEmptyString to fhc_helper
- Added function isEmptyArray to fhc_helper - Adapted the code in application/* to use as much as possible this two new functions - Removed the php function empty almost everywhere
This commit is contained in:
@@ -50,8 +50,7 @@ class Ampel_model extends DB_Model
|
||||
*/
|
||||
public function execBenutzerSelect($benutzer_select)
|
||||
{
|
||||
$trimed = trim($benutzer_select);
|
||||
if (isset($benutzer_select) && !empty($trimed))
|
||||
if (isset($benutzer_select) && !isEmptyString($benutzer_select))
|
||||
{
|
||||
return $this->execQuery($benutzer_select);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user