Improve additional condition

This commit is contained in:
Hypolite Petovan 2017-12-10 01:07:48 -05:00
parent 3ea9060259
commit c714ee519f

View file

@ -125,7 +125,7 @@ class Group extends BaseObject
*/ */
public static function getIdByName($uid, $name) public static function getIdByName($uid, $name)
{ {
if ((! $uid) || (! strlen($name))) { if (!$uid || !strlen($name)) {
return false; return false;
} }