Skip to content

Commit b4f2d87

Browse files
committed
Fix deprecation warning
1 parent ef7dae8 commit b4f2d87

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

php-iban.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -584,6 +584,7 @@ function _iban_get_info($iban,$code) {
584584

585585
# Get information from the IBAN registry by country / code combination
586586
function _iban_country_get_info($country,$code) {
587+
if(is_null($country) || is_null($code)) { return false; }
587588
_iban_load_registry();
588589
global $_iban_registry;
589590
$country = strtoupper($country);

0 commit comments

Comments
 (0)