diff --git a/include/class.config.php b/include/class.config.php index b2984fe46156389031351000389c09d85744c0a9..3ff7d1ef9787dfc58872fbe4f4f5ea79bb5b52c5 100644 --- a/include/class.config.php +++ b/include/class.config.php @@ -175,7 +175,7 @@ class OsticketConfig extends Config { return true; } - function lastModified() { + function lastModified($key=false) { return max(array_map(array('parent', 'lastModified'), array_keys($this->config))); }