Skip to content

Commit

Permalink
Fix group not available error in RequestInfo panel.
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianbj committed Jun 30, 2020
1 parent fb7cf9c commit e01dd7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion TracyDebugger.module.php
Expand Up @@ -27,7 +27,7 @@ public static function getModuleInfo() {
'summary' => __('Tracy debugger from Nette with several PW specific custom tools.', __FILE__),
'author' => 'Adrian Jones',
'href' => 'https://processwire.com/talk/topic/12208-tracy-debugger/',
'version' => '4.21.17',
'version' => '4.21.18',
'autoload' => 9999, // in PW 3.0.114+ higher numbers are loaded first - we want Tracy first
'singular' => true,
'requires' => 'ProcessWire>=2.7.2, PHP>=5.4.4',
Expand Down
2 changes: 1 addition & 1 deletion panels/RequestInfoPanel.php
Expand Up @@ -598,7 +598,7 @@ public function getPanel() {
<td>filename</td>
<td>'.(isset($templateFilePath) ? \TracyDebugger::createEditorLink($templateFilePath, 1, str_replace($this->wire('config')->paths->root, '/', $templateFilePath), 'Edit Template File') . '<br />
modified: ' . date("Y-m-d H:i:s", filemtime($templateFilePath)) . '<br />' .
(isset($owner) && !is_bool($owner) ? 'user:group: ' . $owner['name'].":".$group['name'] .'<br />' : '') . '
(isset($owner) && !is_bool($owner) && isset($group) && !is_bool($group) ? 'user/group: ' . $owner['name'].":".$group['name'] .'<br />' : '') . '
permissions: ' . $permission
: 'No file').'</td>
</tr>
Expand Down

0 comments on commit e01dd7f

Please sign in to comment.