From c714ee519fc1c7c030172cbe87c852f2878966f3 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sun, 10 Dec 2017 01:07:48 -0500 Subject: [PATCH] Improve additional condition --- src/Model/Group.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/Group.php b/src/Model/Group.php index 93346c8a58..7d2e8f4898 100644 --- a/src/Model/Group.php +++ b/src/Model/Group.php @@ -125,7 +125,7 @@ class Group extends BaseObject */ public static function getIdByName($uid, $name) { - if ((! $uid) || (! strlen($name))) { + if (!$uid || !strlen($name)) { return false; } -- 2.39.5