correcciones

This commit is contained in:
marcelo.cuiza
2015-05-05 09:55:39 -04:00
parent 8a576e4e28
commit 63cba2c262
6 changed files with 64 additions and 45 deletions

View File

@@ -334,9 +334,9 @@ class Consolidated
$sort = $filter->validateInput($sort);
if (in_array($sort, $arrayReportTableVar)) {
$sort = strtoupper($sort);
eval("\$field = " . $tableName . "Peer::" . $sort . ";");
eval('$field = ' . $tableName . 'Peer::' . $sort . ';');
} else {
eval("\$field = AppCacheViewPeer::" . $sort . ";");
eval('$field = AppCacheViewPeer::' . $sort . ';');
}
if ($dir == "ASC") {