issue could be here ow_plugins/ocs_fundraising/classes/goal_add_form.php i dont see any hidden field for owner (userid) in the form...
in ow_plugins/ocs_fundraising/controllers/project.php it is not grabbing or storing the userId
even when i hard code the function add like this
$goal->ownerId = 1; // OW::getUser()->getId();
it still does not store it..
also on another note there needs to be something like this to set the switch.. i know default is admin in the table but still might need something like this in the add function
//added by dave
if ( OW::getUser()->isAdmin() )
{
$goal->ownerType = 'admin';
}else{
$goal->ownerType = 'user';
}
// original code
// $goal->ownerType = 'user';
UPDATE: This issue fixed in version 6 plugin update.. :)