up observations
This commit is contained in:
@@ -526,7 +526,7 @@ class Translation extends BaseTranslation
|
|||||||
* string $colname
|
* string $colname
|
||||||
* bool $numeric
|
* bool $numeric
|
||||||
**/
|
**/
|
||||||
function sortByColumn($table, $colname) {
|
public function sortByColumn($table, $colname) {
|
||||||
$tn = $ts = $temp_num = $temp_str = array();
|
$tn = $ts = $temp_num = $temp_str = array();
|
||||||
foreach ($table as $key => $row) {
|
foreach ($table as $key => $row) {
|
||||||
if(is_numeric(substr($row[$colname], 0, 1))) {
|
if(is_numeric(substr($row[$colname], 0, 1))) {
|
||||||
|
|||||||
Reference in New Issue
Block a user