1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-14 10:34:01 +02:00

Make select(..., , , ) optional

This commit is contained in:
Jakub Vrana
2014-01-15 08:23:26 -08:00
parent e9b5616657
commit 60c8ec61e3
6 changed files with 7 additions and 7 deletions

View File

@@ -29,7 +29,7 @@
* @param bool whether to print the query
* @return Min_Result
*/
function select($table, $select, $where, $group, $order, $limit, $page, $print = false) {
function select($table, $select, $where, $group, $order = array(), $limit = 1, $page = 0, $print = false) {
global $adminer, $jush;
$is_group = (count($group) < count($select));
$query = $adminer->selectQueryBuild($select, $where, $group, $order, $limit, $page);