Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2013-04-23 14:27:54 +02:00
commit 1bf4b88fe3

View File

@ -127,7 +127,7 @@ class Node_Table extends Node
$query .= "WHERE `TABLE_NAME`='$table' ";
$query .= "AND `TABLE_SCHEMA`='$db' ";
$query .= "ORDER BY `COLUMN_NAME` ASC ";
$query .= "LIMIT $pos, $maxItems";
$query .= "LIMIT " . intval($pos) . ", $maxItems";
$retval = PMA_DBI_fetch_result($query);
} else {
$db = PMA_Util::backquote($db);
@ -173,7 +173,7 @@ class Node_Table extends Node
$query .= "WHERE `EVENT_OBJECT_SCHEMA`='$db' ";
$query .= "AND `EVENT_OBJECT_TABLE`='$table' ";
$query .= "ORDER BY `TRIGGER_NAME` ASC ";
$query .= "LIMIT $pos, $maxItems";
$query .= "LIMIT " . intval($pos) . ", $maxItems";
$retval = PMA_DBI_fetch_result($query);
} else {
$db = PMA_Util::backquote($db);