From fe593bc2c85ca5f65a1f92870c90e028332ea53e Mon Sep 17 00:00:00 2001 From: rvelices Date: Tue, 19 Apr 2011 20:09:19 +0000 Subject: bug:2268 combine_script - sometimes precedent scripts were not being loaded before ... in admin, the accordion is loaded in the header (admin pages have the same header combined script, but usually different bottom scripts) git-svn-id: http://piwigo.org/svn/branches/2.2@10504 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/template.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/template.class.php') diff --git a/include/template.class.php b/include/template.class.php index 1536e8f7a..857314906 100644 --- a/include/template.class.php +++ b/include/template.class.php @@ -1101,8 +1101,8 @@ class ScriptLoader foreach( $scripts as $id => $script) { $load = $script->load_mode; - if ($load==0) - continue; + /*if ($load==0) + continue;*/ foreach( $script->precedents as $precedent) { if ( !isset($scripts[$precedent] ) ) -- cgit v1.2.3