added static keyword to function
This commit is contained in:
1 parent
a1c4c27fcb
commit
cdc6ea09d6
1 file changed
+1
-1
@@ -32,7 +32,7 @@ class training_type {
|
||||
return $this->trt_deleted;
|
||||
}
|
||||
|
||||
public function create_training_type($_trt_value_array) {
|
||||
public static function create_training_type($_trt_value_array) {
|
||||
global $sql;
|
||||
return $sql->insert_into('training_type', $_trt_value_array);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user