Permalink
Browse files

Compatibility with php 5.3

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
  • Loading branch information...
madhuracj committed May 28, 2015
1 parent a9f3ae7 commit c1588f47e43527ec55f1eecdaba13711a24ec7c1
Showing with 2 additions and 1 deletion.
  1. +2 −1 libraries/structure.lib.php
@@ -1581,7 +1581,8 @@ function PMA_getHtmlForEditView($url_params)
. "." . PMA_Util::backquote($GLOBALS['table']);
$createView = $GLOBALS['dbi']->fetchValue($query, 0, 'Create View');
// get algorithm from $createView of the form CREATE ALGORITHM=<ALGORITHM> DE...
$item['ALGORITHM'] = explode(" ", substr($createView, 17))[0];
$parts = explode(" ", substr($createView, 17));
$item['ALGORITHM'] = $parts[0];
$view = array(
'operation' => 'alter',

0 comments on commit c1588f4

Please sign in to comment.