Merge pull request #9973 from AXeL-dev/patch-2

remove useless line of code
This commit is contained in:
Laurent Destailleur 2018-11-08 19:25:00 +01:00 committed by GitHub
commit b6ffca01d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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";
}
}