From a18eaf719409462edd1c46bbb568d0800d637f2f Mon Sep 17 00:00:00 2001 From: mohrt Date: Fri, 22 Nov 2002 14:33:03 +0000 Subject: [PATCH] patch for warning message --- Smarty_Compiler.class.php | 4 +++- libs/Smarty_Compiler.class.php | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Smarty_Compiler.class.php b/Smarty_Compiler.class.php index f9c75aab..5a2beaed 100644 --- a/Smarty_Compiler.class.php +++ b/Smarty_Compiler.class.php @@ -509,7 +509,9 @@ class Smarty_Compiler extends Smarty { if (!empty($attrs['script'])) { $delayed_loading = true; - } + } else { + $delayed_loading = false; + } foreach ($attrs as $arg_name => $arg_value) { if (is_bool($arg_value)) diff --git a/libs/Smarty_Compiler.class.php b/libs/Smarty_Compiler.class.php index f9c75aab..5a2beaed 100644 --- a/libs/Smarty_Compiler.class.php +++ b/libs/Smarty_Compiler.class.php @@ -509,7 +509,9 @@ class Smarty_Compiler extends Smarty { if (!empty($attrs['script'])) { $delayed_loading = true; - } + } else { + $delayed_loading = false; + } foreach ($attrs as $arg_name => $arg_value) { if (is_bool($arg_value))