Parcourir la source

bug fixed with slashes \'

Victor De la Rocha il y a 15 ans
Parent
révision
80b8c6876d
1 fichiers modifiés avec 1 ajouts et 2 suppressions
  1. 1 2
      classes/themes.class.php

+ 1 - 2
classes/themes.class.php Voir le fichier

@@ -46,10 +46,9 @@ class themes{
46 46
 		$this->registrar_vars();
47 47
 		$this->__();
48 48
 		$this->eval_control_structures();
49
-
50 49
 		//evaluate All as PHP code
51 50
 		ob_start();eval($this->output);
52
-		$this->output = ob_get_clean();
51
+		$this->output = stripslashes(ob_get_clean());
53 52
 	}
54 53
 
55 54
 	function eval_control_structures(){