Skip to content

Commit

Permalink
Fix missing parameter in newBean
Browse files Browse the repository at this point in the history
  • Loading branch information
pgorod committed Jan 8, 2019
1 parent 77dd087 commit ae0c0e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/developer/Working with Beans.adoc
Expand Up @@ -462,7 +462,7 @@ contact to the relationship in our example we can do the following:
$accountBean->load_relationship('contacts'); $accountBean->load_relationship('contacts');
//Create a new demo contact //Create a new demo contact
$contactBean = BeanFactory::newBean(); $contactBean = BeanFactory::newBean('Contacts');
$contactBean->first_name = 'Jim'; $contactBean->first_name = 'Jim';
$contactBean->last_name = 'Mackin'; $contactBean->last_name = 'Mackin';
$contactBean->save(); $contactBean->save();
Expand Down

0 comments on commit ae0c0e3

Please sign in to comment.