Use default value for uid parameter in Contact::getIdForURL

This commit is contained in:
Hypolite Petovan 2018-03-01 19:53:47 -05:00
commit 9f21e7f34f
5 changed files with 10 additions and 10 deletions

View file

@ -43,7 +43,7 @@ require_once '.htconfig.php';
dba::connect($db_host, $db_user, $db_pass, $db_data);
unset($db_host, $db_user, $db_pass, $db_data);
$contact_id = Contact::getIdForURL($argv[1], 0);
$contact_id = Contact::getIdForURL($argv[1]);
if (!$contact_id) {
echo L10n::t('Could not find any contact entry for this URL (%s)', $nurl);
echo "\r\n";