Fixing PHP warning

skala
Julio Montoya 13 years ago
parent 3ab3b6110e
commit d0b0347a11
  1. 4
      main/inc/lib/skill.lib.php

@ -31,9 +31,9 @@ class SkillProfile extends Model {
return $profiles;
}
public function save($params) {
public function save($params, $show_query = false) {
if (!empty($params)) {
$profile_id = parent::save($params);
$profile_id = parent::save($params, $show_query);
if ($profile_id) {
$skill_rel_profile = new SkillRelProfile();
if (isset($params['skills'])) {

Loading…
Cancel
Save