Skip to content

Commit

Permalink
Merge pull request #9973 from AXeL-dev/patch-2
Browse files Browse the repository at this point in the history
remove useless line of code
  • Loading branch information
eldy committed Nov 8, 2018
2 parents ed76fef + 9dbb222 commit b6ffca0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion htdocs/main.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -1382,7 +1382,6 @@ function top_htmlhead($head, $title='', $disablejs=0, $disablehead=0, $arrayofjs
}
else
{
if (! preg_match('/^\//',$jsfile)) $jsfile='/'.$jsfile; // For backward compatibility
print '<script type="text/javascript" src="'.dol_buildpath($jsfile,1).'"></script>'."\n";
}
}
Expand Down

0 comments on commit b6ffca0

Please sign in to comment.