We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 894b629 commit 16b782fCopy full SHA for 16b782f
modules/application.class.php
@@ -192,16 +192,17 @@ function sortFiles($a, $b)
192
}
193
194
if ($this->action != 'apps') {
195
- if ($this->action && (preg_match('/^app_\w+$/is', $this->action) || $this->action == 'xray')) {
+ if (isset($this->action) && $this->action &&
196
+ (preg_match('/^app_\w+$/is', $this->action) || $this->action == 'xray')) {
197
$out['APP_ACTION'] = 1;
198
199
- if (isset($this->app_action) && $this->action!='') {
200
+ if (isset($this->app_action) && $this->app_action && $this->action!='') {
201
202
203
204
- if (isset($this->app_action) && $this->app_action == 'panel') {
205
+ if (isset($this->app_action) && $this->app_action == 'panel') {
206
$this->redirect(ROOTHTML . 'admin.php');
207
208
0 commit comments