@@ -970,7 +970,7 @@ discard block |
||
970 | 970 | $incontext['continue'] = 1; |
971 | 971 | |
972 | 972 | // Check Postgres setting |
973 | - if ( $db_type === 'postgresql') |
|
973 | + if ($db_type === 'postgresql') |
|
974 | 974 | { |
975 | 975 | load_database(); |
976 | 976 | $result = $smcFunc['db_query']('', ' |
@@ -1310,7 +1310,7 @@ discard block |
||
1310 | 1310 | $allowed_tld = download_ccSLD_list(); |
1311 | 1311 | if (!empty($allowed_tld)) |
1312 | 1312 | { |
1313 | - foreach($allowed_tld as $value) |
|
1313 | + foreach ($allowed_tld as $value) |
|
1314 | 1314 | { |
1315 | 1315 | $pattern = '/\.' . strtr($value, array('.' => '\.', '*' => '[^.]*?')) . '$/'; |
1316 | 1316 | if (preg_match($pattern, $url_parts['host'], $matches, PREG_OFFSET_CAPTURE) === 1) |