From e0053598a4720ad5df5fb0511131f7eed508fc11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Wed, 9 May 2012 11:45:50 +0200 Subject: [PATCH] Return value not used --- libraries/common.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/common.lib.php b/libraries/common.lib.php index befb4ec9f5..142f7d8673 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -3823,7 +3823,7 @@ function PMA_currentUserHasPrivilege($priv, $db = null, $tbl = null) // need to escape wildcards in db and table names, see bug #3518484 $tbl = str_replace(array('%', '_'), array('\%', '\_'), $tbl); $query .= " AND TABLE_NAME='%s'"; - if ($retval = PMA_DBI_fetch_value( + if (PMA_DBI_fetch_value( sprintf( $query, 'TABLE_PRIVILEGES',