Ignore:
Timestamp:
2013-07-15T19:53:06+02:00 (15 months ago)
Author:
moo
Message:

Decompiler: fix new without assign

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Decompiler.class.php

    r1321 r1322  
    14911491            case XC_NEW: // {{{ 
    14921492                array_push($EX['arg_types_stack'], array($EX['fbc'], $EX['object'], $EX['called_scope'])); 
    1493                 $EX['object'] = (int) $res['var']; 
     1493                $EX['object'] = $istmpres ? (int) $res['var'] : null; 
    14941494                $EX['called_scope'] = null; 
    14951495                $EX['fbc'] = 'new ' . $this->stripNamespace(isset($op1['constant']) ? $op1['constant'] : $this->getOpVal($op1, $EX)); 
Note: See TracChangeset for help on using the changeset viewer.