diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2007-01-10 15:04:54 +0000 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2007-01-10 15:04:54 +0000 |
commit | 378bb9ded8df94f68a9c712375eda925778c33e4 (patch) | |
tree | a9384321a769148a19cc6ad487191252b211433a | |
parent | 8ec860d637ca667e8050e0755d55fc1496301d96 (diff) | |
download | jquery-378bb9ded8df94f68a9c712375eda925778c33e4.tar.gz jquery-378bb9ded8df94f68a9c712375eda925778c33e4.zip |
Fixed eval code (Thanks Fil)
-rw-r--r-- | build/test/data/name.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/test/data/name.php b/build/test/data/name.php index 7f77a0b28..a4b990e3d 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 "<math><calculation>$xml</calculation><result>$result</result></math>";
die();
}
|