Merge branch 'release/1.0.2'

This commit is contained in:
Andy Miller
2015-12-11 18:51:36 -07:00
3 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
# v1.0.2
## 12/11/2015
1. [](#bugfix)
* Fix for timing display in debugbar
# v1.0.1
## 12/11/2015

View File

@@ -2,7 +2,7 @@
// Some standard defines
define('GRAV', true);
define('GRAV_VERSION', '1.0.1');
define('GRAV_VERSION', '1.0.2');
define('DS', '/');
// Directories and Paths

View File

@@ -107,7 +107,7 @@ class Debugger
public function stopTimer($name)
{
if (isset($this->timers[$name]) && ($name[0] == '_' || $this->grav['config']->get('system.debugger.enabled'))) {
if (in_array($name, $this->timers) && ($name[0] == '_' || $this->grav['config']->get('system.debugger.enabled'))) {
$this->debugbar['time']->stopMeasure($name);
}