Remove trailing spaces and adjust the vertical spacing.
This commit is contained in:
parent
39960bac8d
commit
fda7add887
|
|
@ -321,18 +321,16 @@ EOD;
|
|||
$prep_statement = $db->prepare(check_sql($sql));
|
||||
if ($prep_statement) {
|
||||
$prep_statement->execute();
|
||||
|
||||
$result = $prep_statement->fetchAll(PDO::FETCH_ASSOC);
|
||||
|
||||
if ( count($result)> 0) {
|
||||
$country_iso = $result[0]["value"];
|
||||
}
|
||||
}
|
||||
|
||||
unset($prep_statement, $sql, $result);
|
||||
|
||||
if ( $country_iso===NULL )
|
||||
if ( $country_iso===NULL ) {
|
||||
return;
|
||||
}
|
||||
|
||||
$countries = json_decode($country_list, true);
|
||||
|
||||
|
|
@ -393,7 +391,6 @@ EOD;
|
|||
if ($prep_statement) {
|
||||
$prep_statement->execute();
|
||||
$row = $prep_statement->fetch(PDO::FETCH_ASSOC);
|
||||
|
||||
if ($row['num_rows'] == 0) {
|
||||
$sql = "insert into v_vars ";
|
||||
$sql .= "(";
|
||||
|
|
@ -430,7 +427,6 @@ EOD;
|
|||
if ($prep_statement) {
|
||||
$prep_statement->execute();
|
||||
$row = $prep_statement->fetch(PDO::FETCH_ASSOC);
|
||||
|
||||
if ($row['num_rows'] == 0) {
|
||||
$sql = "insert into v_vars ";
|
||||
$sql .= "(";
|
||||
|
|
|
|||
Loading…
Reference in New Issue