We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d5b458 commit a1c681fCopy full SHA for a1c681f
adm_program/modules/messages/messages_write.php
@@ -203,8 +203,12 @@
203
}
204
205
206
-// add current url to navigation stack
207
-$gNavigation->addUrl(CURRENT_URL, $headline);
+if(!$gValidLogin && $getUserUuid === '' && $getRoleUuid === '') {
+ // visitors have no message modul and start the navigation here
208
+ $gNavigation->addStartUrl(CURRENT_URL, $headline);
209
+} else {
210
+ $gNavigation->addUrl(CURRENT_URL, $headline);
211
+}
212
213
// create html page object
214
$page = new HtmlPage('admidio-messages-write', $headline);
0 commit comments