Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Remove search by expression in PDO

  • Loading branch information...
commit b848764299db83c5cfb974807c106ec35c65888b 1 parent ed25431
Jakub Vrána authored September 18, 2011

Showing 1 changed file with 5 additions and 0 deletions. Show diff stats Hide diff stats

  1. 5  adminer/include/pdo.inc.php
5  adminer/include/pdo.inc.php
@@ -5,6 +5,11 @@
5 5
 		var $_result, $server_info, $affected_rows, $error;
6 6
 		
7 7
 		function __construct() {
  8
+			global $adminer;
  9
+			$pos = array_search("", $adminer->operators);
  10
+			if ($pos !== false) {
  11
+				unset($adminer->operators[$pos]);
  12
+			}
8 13
 		}
9 14
 		
10 15
 		function dsn($dsn, $username, $password, $exception_handler = 'auth_error') {

0 notes on commit b848764

Please sign in to comment.
Something went wrong with that request. Please try again.