-
Type:
Sub-Task
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 15
-
Fix Version/s: 15
-
Component/s: Contact Manager
-
Labels:
-
ToDo:
-
Module Fix Version:
Patch:
--- a/Contactmanager.class.php 2019-07-04 16:38:39.639312274 +0000
+++ b/Contactmanager.class.php 2019-07-04 16:39:14.970407272 +0000
@@ -2755,14 +2755,14 @@
break;
case \libphonenumber\MatchType::SHORT_NSN_MATCH:
if(strlen($number) < $lookuplen) {
- continue;
+ continue 2;
}
return $this->getEntryByID($result['entryid']);
break;
case \libphonenumber\MatchType::NOT_A_NUMBER:
case \libphonenumber\MatchType::NO_MATCH:
default:
- continue;
+ continue 2;
break;
}
}
@@ -2793,14 +2793,14 @@
break;
case \libphonenumber\MatchType::SHORT_NSN_MATCH:
if(strlen($number) < $lookuplen) {
- continue;
+ continue 2;
}
return $contacts[$contactnumber['key']];
break;
case \libphonenumber\MatchType::NOT_A_NUMBER:
case \libphonenumber\MatchType::NO_MATCH:
default:
- continue;
+ continue 2;
break;
}
}