core

Changeset 24541

Show
Ignore:
Timestamp:
08/26/08 21:56:15 (3 months ago)
Author:
rgasch
Message:

fixed potential E_ALL error

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/zikula-1.0/includes/pnobjlib/PNObject.class.php

    r24342 r24541  
    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;