upgrade branch
This commit is contained in:
@@ -67,7 +67,7 @@ class InputDocument extends BaseInputDocument
|
|||||||
$oInputDocument = InputDocumentPeer::retrieveByPK( $sInpDocUid );
|
$oInputDocument = InputDocumentPeer::retrieveByPK( $sInpDocUid );
|
||||||
if (! is_null( $oInputDocument )) {
|
if (! is_null( $oInputDocument )) {
|
||||||
$aFields = $oInputDocument->toArray( BasePeer::TYPE_FIELDNAME );
|
$aFields = $oInputDocument->toArray( BasePeer::TYPE_FIELDNAME );
|
||||||
$this->fromArray( $aFields, BasePeer::TYPE_FIELDNAME );
|
$this->fromArray($aFields, BasePeer::TYPE_FIELDNAME);
|
||||||
return $aFields;
|
return $aFields;
|
||||||
} else {
|
} else {
|
||||||
throw (new Exception( 'This row doesn\'t exist!' ));
|
throw (new Exception( 'This row doesn\'t exist!' ));
|
||||||
|
|||||||
Reference in New Issue
Block a user