Bug Tracker

Changeset 978 for trunk/jquery/build

Show
Ignore:
Timestamp:
01/10/07 15:04:54 (2 years ago)
Author:
joern
Message:

Fixed eval code (Thanks Fil)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/jquery/build/test/data/name.php

    r977 r978  
    88if($xml) { 
    99    header("Content-type: text/xml"); 
    10     eval("\$result = $xml;"); 
     10    $result = ($xml == "5-2") ? "3" : "?"; 
    1111    echo "<math><calculation>$xml</calculation><result>$result</result></math>"; 
    1212    die();