Improve additional condition
This commit is contained in:
parent
3ea9060259
commit
c714ee519f
|
@ -125,7 +125,7 @@ class Group extends BaseObject
|
|||
*/
|
||||
public static function getIdByName($uid, $name)
|
||||
{
|
||||
if ((! $uid) || (! strlen($name))) {
|
||||
if (!$uid || !strlen($name)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue