Index: /branches/rel/data/smarty_extends/modifier.script_escape.php
===================================================================
--- /branches/rel/data/smarty_extends/modifier.script_escape.php	(revision 14393)
+++ /branches/rel/data/smarty_extends/modifier.script_escape.php	(revision 14464)
@@ -9,6 +9,7 @@
 function smarty_modifier_script_escape($value) {
     
+    if (empty($value)) { return; }
+    
     return preg_replace("/<script.*?>|<\/script>/", '&lt;script&gt;', $value);
-    
 }
 ?>
