File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ private static function filters($filters){
174174 $ copy = $ filter ['value ' ];
175175 $ output ['sql ' ].= '( ' ;
176176 foreach ($ filter ['value ' ] as $ value ){
177- $ output ['sql ' ].= ' FIND_IN_SET(" ' .$ value ['value ' ].'" , ' .$ value ['column ' ].') ' ;
177+ $ output ['sql ' ].= ' FIND_IN_SET( \'' .$ value ['value ' ].'\' , ' .$ value ['column ' ].') ' ;
178178 if (next ($ copy )){
179179 $ output ['sql ' ].= ' OR ' ;
180180 }else {
@@ -773,7 +773,7 @@ public static function create_tags_table(){
773773 `category` varchar(255) DEFAULT NULL,
774774 `description` text DEFAULT NULL,
775775 PRIMARY KEY (slug)
776- ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; " ;
776+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; " ;
777777 $ params = array ();
778778 $ result = self ::query ($ sql , $ params , false );
779779
@@ -787,7 +787,7 @@ public static function create_tags_table(){
787787 if ( !empty ($ integration_tags ) ){
788788 register_tags ($ integration_tags );
789789 }
790-
790+
791791 }
792792
793793 /**
You can’t perform that action at this time.
0 commit comments