More small changes to help save a few microseconds.
This commit is contained in:
@ -384,7 +384,7 @@ function _count_execs($db, $sql, $inputarray) {
|
||||
if(DEBUG) {
|
||||
$fp = @fopen("data/sql.log", "a");
|
||||
if($fp) {
|
||||
if(is_array($inputarray)) {
|
||||
if(isset($inputarray) && is_array($inputarray)) {
|
||||
fwrite($fp, preg_replace('/\s+/msi', ' ', $sql)." -- ".join(", ", $inputarray)."\n");
|
||||
}
|
||||
else {
|
||||
|
Reference in New Issue
Block a user