소스 검색

Removing echo

Julio Montoya 14 년 전
부모
커밋
8d2b2faed0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      main/inc/lib/database.lib.php

+ 1 - 1
main/inc/lib/database.lib.php

@@ -1328,7 +1328,7 @@ class Database {
         $params = array_keys($filtred_attributes); //@todo check if the field exists in the table we should use a describe of that table
         $values = array_values($filtred_attributes);
         if (!empty($params) && !empty($values)) {        
-          echo   $sql    = 'INSERT INTO '.$table_name.' ('.implode(',',$params).') VALUES ('.implode(',',$values).')';        
+            $sql    = 'INSERT INTO '.$table_name.' ('.implode(',',$params).') VALUES ('.implode(',',$values).')';        
             $result = self::query($sql);
             return  self::get_last_insert_id();             
         }