changed sorting
This commit is contained in:
parent
eacaba56e8
commit
71b5a4c208
|
@ -938,7 +938,7 @@ function masort(&$data,$sortby,$rev=0) {
|
||||||
|
|
||||||
foreach (explode(',',$sortby) as $key) {
|
foreach (explode(',',$sortby) as $key) {
|
||||||
if (!preg_match('/^[a-zA-z0-9_]+$/', $key)) {
|
if (!preg_match('/^[a-zA-z0-9_]+$/', $key)) {
|
||||||
die();
|
return;
|
||||||
}
|
}
|
||||||
$code .= "if (is_object(\$a) || is_object(\$b)) {\n";
|
$code .= "if (is_object(\$a) || is_object(\$b)) {\n";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue