]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/BaseApi.php
Fix user-contact rows not being updated in Contact\User::updateByContactUpdate
[friendica.git] / src / Module / BaseApi.php
index eaefdd0bdf917b94f6f2e1b4e90aaa7b90418470..9732fdfcd3d2aa9353dcf2952cea70ba0eac92fb 100644 (file)
@@ -293,7 +293,7 @@ class BaseApi extends BaseModule
                }
        }
 
-       public static function getContactIDForSearchterm(string $screen_name, int $cid, int $uid)
+       public static function getContactIDForSearchterm(string $screen_name = null, int $cid = null, int $uid)
        {
                if (!empty($cid)) {
                        return $cid;