|
|
|
|
@ -472,6 +472,7 @@ class Database |
|
|
|
|
|
|
|
|
|
if ($show_query) { |
|
|
|
|
var_dump($sql); |
|
|
|
|
var_dump($attributes); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if ($result) { |
|
|
|
|
@ -551,7 +552,6 @@ class Database |
|
|
|
|
$type_condition = strtolower($type_condition); |
|
|
|
|
switch ($type_condition) { |
|
|
|
|
case 'where': |
|
|
|
|
|
|
|
|
|
foreach ($condition_data as $condition => $value_array) { |
|
|
|
|
if (is_array($value_array)) { |
|
|
|
|
$clean_values = array(); |
|
|
|
|
@ -612,8 +612,6 @@ class Database |
|
|
|
|
} |
|
|
|
|
if (!empty($temp_value)) { |
|
|
|
|
$return_value .= ' ORDER BY '.implode(', ', $temp_value); |
|
|
|
|
} else { |
|
|
|
|
//$return_value .= ''; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
break; |
|
|
|
|
|