Skip to content

Commit

Permalink
Remove search by expression in PDO
Browse files Browse the repository at this point in the history
  • Loading branch information
vrana committed Sep 18, 2011
1 parent ed25431 commit b848764
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions adminer/include/pdo.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
var $_result, $server_info, $affected_rows, $error;

function __construct() {
global $adminer;
$pos = array_search("", $adminer->operators);
if ($pos !== false) {
unset($adminer->operators[$pos]);
}
}

function dsn($dsn, $username, $password, $exception_handler = 'auth_error') {
Expand Down

0 comments on commit b848764

Please sign in to comment.