Fix the Notice being generated.
This commit is contained in:
parent
a90f5bed8e
commit
cb135d4763
@ -600,7 +600,7 @@ $_execs = 0;
|
|||||||
*/
|
*/
|
||||||
function _count_execs($db, $sql, $inputarray) {
|
function _count_execs($db, $sql, $inputarray) {
|
||||||
global $_execs;
|
global $_execs;
|
||||||
if((DEBUG_SQL === true) || (is_null(DEBUG_SQL) && @$_GET['DEBUG_SQL'])) {
|
if ((defined(DEBUG_SQL) && DEBUG_SQL === true) || (is_null(DEBUG_SQL) && @$_GET['DEBUG_SQL'])) {
|
||||||
$fp = @fopen("data/sql.log", "a");
|
$fp = @fopen("data/sql.log", "a");
|
||||||
if($fp) {
|
if($fp) {
|
||||||
if(isset($inputarray) && is_array($inputarray)) {
|
if(isset($inputarray) && is_array($inputarray)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user