Skip to content

Commit

Permalink
Merge branch 'release/1.0.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
rhukster committed Dec 12, 2015
2 parents 2bb23ef + f8aa9fe commit f7696b6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# v1.0.2
## 12/11/2015

1. [](#bugfix)
* Fix for timing display in debugbar

# v1.0.1
## 12/11/2015

Expand Down
2 changes: 1 addition & 1 deletion system/defines.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion system/src/Grav/Common/Debugger.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public function startTimer($name, $description = null)

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);
}

Expand Down

0 comments on commit f7696b6

Please sign in to comment.