core

Changeset 24540

Show
Ignore:
Timestamp:
08/26/08 22:55:10 (5 months ago)
Author:
rgasch
Message:

fixed potential E_ALL error

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • development/main/includes/PNObject.class.php

    r24395 r24540  
    8989            $tkey             = $this->_objType; 
    9090            $ckey             = $this->_objType . "_column"; 
    91             $this->_table     = $pntables[$tkey]; 
    92             $this->_columns   = $pntables[$ckey]; 
     91            $this->_table     = isset($pntables[$tkey]) ? $pntables[$tkey] : null; 
     92            $this->_columns   = isset($pntables[$ckey]) ? $pntables[$ckey] : null; 
    9393            if ($field) { 
    9494                $this->_objField  = $field; 
 
 
Powered by Trac
Design by Arcsin