1
0
mirror of synced 2025-01-29 19:41:45 +03:00

Fixed typo, reported by Scott Burke (webfx @ #doctrine)

This commit is contained in:
nicobn 2007-08-25 04:35:28 +00:00
parent 777539fbf3
commit 7b9eeb35bf

View File

@ -17,12 +17,12 @@ $users = new Doctrine_Collection($conn->getTable('User'));
$users = new Doctrine_Collection('User');
// adding some data
$coll[0]->name = 'Arnold';
$users[0]->name = 'Arnold';
$coll[1]->name = 'Somebody';
$users[1]->name = 'Somebody';
// finally save it!
$coll->save();
$users->save();
</code>