diff options
author | Christian Schneider | 2007-05-09 07:51:59 +0000 |
---|---|---|
committer | Christian Schneider | 2007-05-09 07:51:59 +0000 |
commit | 3b869264f97ba063855925cb76c7d46561628c20 (patch) | |
tree | 6390aaad1474706ee25277701880435423a97fff /db_table.class | |
parent | f43af745e8c07b72ea9453163438d8ddce753841 (diff) | |
download | itools-3b869264f97ba063855925cb76c7d46561628c20.tar.gz itools-3b869264f97ba063855925cb76c7d46561628c20.tar.bz2 itools-3b869264f97ba063855925cb76c7d46561628c20.zip |
Make itools old syntax again
Diffstat (limited to 'db_table.class')
-rw-r--r-- | db_table.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db_table.class b/db_table.class index 0ab25da..e38ecec 100644 --- a/db_table.class +++ b/db_table.class @@ -278,7 +278,7 @@ function dump_html($tableargs="", $sqlwhere="", $c_fields="", $c_descriptions="" if ($default_order == "") $default_order = $fields[0]; - if (!in_array(it::replace(' DESC$' => "", $_REQUEST[$table_sort]), $fields)) + if (!in_array(it::replace(array(' DESC$' => ""), $_REQUEST[$table_sort]), $fields)) $_REQUEST[$table_sort] = $default_order; $sql = "SELECT $c_fields FROM $this->name"; |