Browse Source

bug fixed with slashes \'

Victor De la Rocha 16 years ago
parent
commit
80b8c6876d
1 changed files with 1 additions and 2 deletions
  1. 1 2
      classes/themes.class.php

+ 1 - 2
classes/themes.class.php View File

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