upgrade branch

This commit is contained in:
Ronald Q
2016-07-01 10:01:42 -04:00
parent 837af25c20
commit c2dd985691

View File

@@ -67,7 +67,7 @@ class InputDocument extends BaseInputDocument
$oInputDocument = InputDocumentPeer::retrieveByPK( $sInpDocUid );
if (! is_null( $oInputDocument )) {
$aFields = $oInputDocument->toArray( BasePeer::TYPE_FIELDNAME );
$this->fromArray( $aFields, BasePeer::TYPE_FIELDNAME );
$this->fromArray($aFields, BasePeer::TYPE_FIELDNAME);
return $aFields;
} else {
throw (new Exception( 'This row doesn\'t exist!' ));