Skip to content

Commit 36f1918

Browse files
committed
Always initialize querytype flag
This avoids problems later when using it to detect handling of query. Fixes phpmyadmin/phpmyadmin#13640 Signed-off-by: Michal Čihař <michal@cihar.com>
1 parent 813231e commit 36f1918

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Utils/Query.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ private static function _getFlagsSelect($statement, $flags)
293293
*/
294294
public static function getFlags($statement, $all = false)
295295
{
296-
$flags = array();
296+
$flags = array('querytype' => false);
297297
if ($all) {
298298
$flags = self::$ALLFLAGS;
299299
}

0 commit comments

Comments
 (0)