In carddav_addressbook.php when calling the carddav_add function from the carddav_addressbook_sync function, false is passed as the second parameter. However the !== operator is used in carddav_addressbook_sync to check this parameter against null, making the test ending in being always true (false and null are not of the same type).
Hi,
In
carddav_addressbook.php
when calling thecarddav_add
function from thecarddav_addressbook_sync
function,false
is passed as the second parameter. However the!==
operator is used incarddav_addressbook_sync
to check this parameter againstnull
, making the test ending in being always true (false
andnull
are not of the same type).Proposed fix: