mirror of
https://gitlab.com/ruany/litebans-php.git
synced 2025-05-23 16:32:45 +00:00
Minor code inspection cleanup
This commit is contained in:
parent
493a2c48b0
commit
2333fda8df
@ -169,6 +169,7 @@ class Page {
|
|||||||
return $rows;
|
return $rows;
|
||||||
} catch (PDOException $ex) {
|
} catch (PDOException $ex) {
|
||||||
Settings::handle_error($this->settings, $ex);
|
Settings::handle_error($this->settings, $ex);
|
||||||
|
return array();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -194,8 +195,7 @@ class Page {
|
|||||||
array_push($columns, "CAST($column AS UNSIGNED) AS $column");
|
array_push($columns, "CAST($column AS UNSIGNED) AS $column");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$selection = implode(",", $columns);
|
return implode(",", $columns);
|
||||||
return $selection;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user