Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
diddipoeler committed Mar 22, 2024
1 parent 108909b commit 6254092
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion admin/libraries/sportsmanagement/model.php
Original file line number Diff line number Diff line change
Expand Up @@ -988,6 +988,8 @@ public function save($data)
$profile->timestamp_bis = sportsmanagementHelper::getTimestamp($profile->date_bis);
$profile->modified = $this->jsmdate->toSql();
$profile->modified_by = $this->jsmuser->get('id');
$result = Factory::getDbo()->updateObject('#__sportsmanagement_playground_details', $profile, 'id');
/**
try{
$result = Factory::getDbo()->updateObject('#__sportsmanagement_playground_details', $profile, 'id');
}
Expand All @@ -996,7 +998,7 @@ public function save($data)
Factory::getApplication()->enqueueMessage(__METHOD__ . ' ' . __LINE__ . Text::_($e->getMessage()), 'Error');
Factory::getApplication()->enqueueMessage(__METHOD__ . ' ' . __LINE__.' profile <br><pre>'.print_r($profile,true).'</pre>'),'error');
}

*/

}

Expand Down

0 comments on commit 6254092

Please sign in to comment.