Skip to content

Commit

Permalink
Fix makeUrl() args when SEF is disabled modxcms#616
Browse files Browse the repository at this point in the history
  • Loading branch information
Deesen committed May 4, 2016
1 parent e812663 commit 16dee09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manager/includes/document.parser.class.inc.php
Expand Up @@ -2607,7 +2607,7 @@ function makeUrl($id, $alias = '', $args = '', $scheme = ''){
$args = ltrim($args, '?&');
$_ = strpos($f_url_prefix, '?');

if($_ === false){
if($_ === false && $this->config['friendly_urls'] == 1){
$args = "?{$args}";
}else{
$args = "&{$args}";
Expand Down

0 comments on commit 16dee09

Please sign in to comment.