Skip to content

Commit 5e2e494

Browse files
committed
Merge branch '1.4.x' of github.com:evolution-cms/evolution into 1.4.x
2 parents c7cd2cc + d232ae6 commit 5e2e494

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

manager/frames/1.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -349,13 +349,6 @@
349349
<?= $_style['page_logout'] ?><?= $_lang['logout'] ?>
350350
</a>
351351
</li>
352-
<?php
353-
$style = $modx->config['settings_version'] != $modx->getVersionData('version') ? 'style="color:#ffff8a;"' : '';
354-
$version = 'Evolution';
355-
?>
356-
<?php
357-
echo sprintf('<li><span class="dropdown-item" title="%s &ndash; %s" %s>' . $version . ' %s</span></li>', $site_name, $modx->getVersionData('full_appname'), $style, $modx->config['settings_version']);
358-
?>
359352
</ul>
360353
</li>
361354
<?php if ($modx->hasPermission('settings') || $modx->hasPermission('view_eventlog') || $modx->hasPermission('logs') || $modx->hasPermission('help')) { ?>
@@ -402,6 +395,13 @@
402395
</a>
403396
</li>
404397
<?php } ?>
398+
<?php
399+
$style = $modx->config['settings_version'] != $modx->getVersionData('version') ? 'style="color:#ffff8a;"' : '';
400+
$version = 'Evolution';
401+
?>
402+
<?php
403+
echo sprintf('<li><span class="dropdown-item" title="%s &ndash; %s" %s>' . $version . ' %s</span></li>', $site_name, $modx->getVersionData('full_appname'), $style, $modx->config['settings_version']);
404+
?>
405405
</ul>
406406
</li>
407407
<?php } ?>

manager/includes/document.parser.class.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6772,7 +6772,7 @@ public function applyFilter($value = '', $modifiers = false, $key = '')
67726772
*/
67736773
private static function _getCleanQueryString()
67746774
{
6775-
$q = MODX_CLI ? null : $_GET['q'];
6775+
$q = MODX_CLI ? null : (isset($_GET['q']) ? $_GET['q'] : '');
67766776

67776777
//Return null if the query doesn't exist
67786778
if (empty($q)) {

0 commit comments

Comments
 (0)