소스 검색

Avoiding that the olpc_peru_filter fires and error

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

+ 2 - 0
main/inc/lib/database.lib.php

@@ -686,6 +686,8 @@ class Database {
         if (strpos($query, 'c_')) {	
         	//Check if the table contains inner joins 
         	if (                    
+                    
+                strpos($query, 'olpc_peru_filter') === false &&
                 strpos($query, 'allow_public_certificates') === false &&
                 strpos($query, 'DROP TABLE IF EXISTS') === false &&      
                 strpos($query, 'thematic_advance') === false &&