瀏覽代碼

missing a this

luis daniel lucio quiroz 11 年之前
父節點
當前提交
325f01423f
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      resources/classes/database.php

+ 1 - 0
resources/classes/database.php

@@ -344,6 +344,7 @@ include "root.php";
 
 			// Use this function to execute complex queries
 			public function execute(){
+					$sql = $this->sql;
 					//echo $sql;
 					$prep_statement = $this->db->prepare($sql);
 					if ($prep_statement) {