Permalink
Browse files

Fix missing parameter in newBean

  • Loading branch information...
pgorod committed Jan 8, 2019
1 parent 77dd087 commit ae0c0e3df5eb97bc3d98590bd7c763d46547d9cc
Showing with 1 addition and 1 deletion.
  1. +1 −1 content/developer/Working with Beans.adoc
@@ -462,7 +462,7 @@ contact to the relationship in our example we can do the following:
$accountBean->load_relationship('contacts');
//Create a new demo contact
$contactBean = BeanFactory::newBean();
$contactBean = BeanFactory::newBean('Contacts');
$contactBean->first_name = 'Jim';
$contactBean->last_name = 'Mackin';
$contactBean->save();

0 comments on commit ae0c0e3

Please sign in to comment.