Improve additional condition
This commit is contained in:
parent
3ea9060259
commit
c714ee519f
1 changed files with 1 additions and 1 deletions
|
@ -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