Fix query in calendar plan

pull/4102/head
Angel Fernando Quiroz Campos 4 years ago
parent e41c4ee9ab
commit 2b8b4edf63
  1. 1
      main/inc/lib/usermanager.lib.php

@ -5561,6 +5561,7 @@ class UserManager
if (!empty($column) && !empty($direction)) { if (!empty($column) && !empty($direction)) {
// Fixing order due the UNIONs // Fixing order due the UNIONs
$column = str_replace('u.', '', $column); $column = str_replace('u.', '', $column);
$column = trim($column);
$orderBy = " ORDER BY `$column` $direction "; $orderBy = " ORDER BY `$column` $direction ";
} }
} }

Loading…
Cancel
Save