changed sorting

This commit is contained in:
Roland Gruber 2011-11-13 19:16:55 +00:00
parent eacaba56e8
commit 71b5a4c208
1 changed files with 1 additions and 1 deletions

View File

@ -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";