mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-20 16:32:20 +00:00
minor improvements/comments
This commit is contained in:
@@ -85,6 +85,8 @@ abstract class db extends basis
|
||||
$sql.=($where?' where '.trim($where).' ':'');
|
||||
if ($art=='select')
|
||||
{
|
||||
// FIXME: If $where is e.g. 'orderstatus' because there's a column named orderstatus, this would
|
||||
// fail horribly? Same for the 'where'-stuff above. -MP
|
||||
if (strstr('order',strtolower($where)))
|
||||
$sql.=($order?trim($order).' ':'');
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user