diff --git a/api/src/Vfs.php b/api/src/Vfs.php index 44900e1743..1331866e1b 100644 --- a/api/src/Vfs.php +++ b/api/src/Vfs.php @@ -586,7 +586,7 @@ class Vfs if (isset($options['limit'])) { list($limit,$start) = explode(',',$options['limit']); - if (!$limit && !($limit = $GLOBALS['egw_info']['user']['preferences']['comman']['maxmatches'])) $limit = 15; + if (!$limit && !($limit = $GLOBALS['egw_info']['user']['preferences']['common']['maxmatches'])) $limit = 15; //echo "total=".self::$find_total.", limit=$options[limit] --> start=$start, limit=$limit
\n"; if ((int)$start || self::$find_total > $limit)