Use default value for uid parameter in Contact::getIdForURL
This commit is contained in:
parent
01c7945b7a
commit
9f21e7f34f
5 changed files with 10 additions and 10 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue