Piotr Labudda 9 anni fa
parent
commit
16c731b2dc
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      SE/se-lib/Core/Pdo.php

+ 2 - 0
SE/se-lib/Core/Pdo.php

@@ -418,12 +418,14 @@ EOF_STRUCT_MYSQL;
 	}
 
 	public function fetchAll($sql) {
+		DBG::_('DBG_SQL', '>3', "sql", $sql, __CLASS__, __FUNCTION__, __LINE__);
 		$sth = $this->prepare($sql);
 		$sth->execute();
 		return $sth->fetchAll();
 	}
 
 	public function fetchAllByKey($sql, $key = 'ID') {
+		DBG::_('DBG_SQL', '>3', "sql", $sql, __CLASS__, __FUNCTION__, __LINE__);
 		$rowsByKey = array();
 		$sth = $this->prepare($sql);
 		$sth->execute();