Skip to content

Commit a7e1822

Browse files
committed
More warnings vs errors fixes
1 parent 2f7c566 commit a7e1822

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

TracyDebugger.module.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public static function getModuleInfo() {
2727
'summary' => __('Tracy debugger from Nette with many PW specific custom tools.', __FILE__),
2828
'author' => 'Adrian Jones',
2929
'href' => 'https://processwire.com/talk/forum/58-tracy-debugger/',
30-
'version' => '4.27.0',
30+
'version' => '4.27.1',
3131
'autoload' => 100000, // in PW 3.0.114+ higher numbers are loaded first - we want Tracy first
3232
'singular' => true,
3333
'requires' => 'ProcessWire>=2.7.2, PHP>=5.4.4',
@@ -1196,12 +1196,12 @@ function showShowButton() {
11961196
else {
11971197
$nonWire = false;
11981198
$nonDeprecations = false;
1199-
foreach($tracyErrors->data as $tracyError => $count) {
1200-
if(strpos($tracyError, 'Deprecated:') === false) {
1199+
foreach($tracyWarnings->data as $tracyWarning => $count) {
1200+
if(strpos($tracyWarning, 'Deprecated:') === false) {
12011201
$nonDeprecations = true;
12021202
break;
12031203
}
1204-
if(strpos($tracyError, '/wire/') === false) {
1204+
if(strpos($tracyWarning, '/wire/') === false) {
12051205
$nonWire = true;
12061206
break;
12071207
}

0 commit comments

Comments
 (0)