dblayer : allow the read order to be written in lowercase too
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3393 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -816,7 +816,7 @@ class dblayer
|
|||||||
if ($n > 0)
|
if ($n > 0)
|
||||||
$req .= ",";
|
$req .= ",";
|
||||||
$req .= $this->sep.$o[0].$this->sep;
|
$req .= $this->sep.$o[0].$this->sep;
|
||||||
if (isset ($o[1]) && $o[1] === "DESC")
|
if (isset ($o[1]) && strtoupper ($o[1]) === "DESC")
|
||||||
$req .= " DESC";
|
$req .= " DESC";
|
||||||
else
|
else
|
||||||
$req .= " ASC";
|
$req .= " ASC";
|
||||||
|
|||||||
Reference in New Issue
Block a user