Diversen
This commit is contained in:
@@ -52,13 +52,15 @@ class Offer extends BaseModel {
|
||||
if ( $offerID == 0 )
|
||||
{
|
||||
$offer = Offer::create( $offer );
|
||||
|
||||
$offerID = $offer['id'];
|
||||
}
|
||||
else
|
||||
{
|
||||
$offer = Offer::whereId( $offerID )->update( $offer );
|
||||
Offer::whereId( $offerID )->update( $offer );
|
||||
}
|
||||
|
||||
return $offer['id'];
|
||||
return $offerID;
|
||||
}
|
||||
|
||||
public static function removeOffer( $offerID )
|
||||
|
||||
Reference in New Issue
Block a user