From 378bb9ded8df94f68a9c712375eda925778c33e4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=B6rn=20Zaefferer?= Date: Wed, 10 Jan 2007 15:04:54 +0000 Subject: [PATCH] Fixed eval code (Thanks Fil) --- build/test/data/name.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/test/data/name.php b/build/test/data/name.php index 7f77a0b..a4b990e 100644 --- a/build/test/data/name.php +++ b/build/test/data/name.php @@ -7,7 +7,7 @@ if($wait) { $xml = $_REQUEST['xml']; if($xml) { header("Content-type: text/xml"); - eval("\$result = $xml;"); + $result = ($xml == "5-2") ? "3" : "?"; echo "$xml$result"; die(); } -- 1.7.10.4