Piotr Labudda 9 lat temu
rodzic
commit
16c731b2dc
1 zmienionych plików z 2 dodań i 0 usunięć
  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();