Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Showing invalid url when saving url to navigation stack #1449
  • Loading branch information
Fasse committed Jun 22, 2023
1 parent 1ec2301 commit 4aac1ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adm_program/system/classes/Navigation.php
Expand Up @@ -117,7 +117,7 @@ public function deleteLastUrl()
public function addUrl($url, $text = null, $icon = null)
{
if (!StringUtils::strValidCharacters($url, 'url')) {
throw new AdmException('SYS_URL_INVALID_CHAR', array($url));
throw new AdmException('SYS_URL_INVALID_CHAR', array('navigation stack'));
}

$count = count($this->urlStack);
Expand Down

0 comments on commit 4aac1ed

Please sign in to comment.