]> git.mxchange.org Git - friendica.git/commitdiff
Improve additional condition
authorHypolite Petovan <mrpetovan@gmail.com>
Sun, 10 Dec 2017 06:07:48 +0000 (01:07 -0500)
committerHypolite Petovan <mrpetovan@gmail.com>
Sun, 10 Dec 2017 06:07:48 +0000 (01:07 -0500)
src/Model/Group.php

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