mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-25 16:44:28 +00:00
Merge branch 'master' into permissions
This commit is contained in:
@@ -8,6 +8,7 @@ class MessageToken_model extends CI_Model
|
||||
{
|
||||
/**
|
||||
* Constructor
|
||||
* NOTE: here are loaded libs, models, helpers, etc. because MessageToken_model extends directly the CI_Model
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
@@ -204,7 +205,7 @@ class MessageToken_model extends CI_Model
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* Searchs for a person by its person_id and checks if it is an employee
|
||||
*/
|
||||
public function isEmployee($person_id)
|
||||
{
|
||||
|
||||
@@ -51,10 +51,12 @@ class UDF_model extends DB_Model
|
||||
$resultPerson = success('person');
|
||||
$resultPrestudent = success('prestudent');
|
||||
|
||||
$person_id = $udfs['person_id'];
|
||||
$person_id = null;
|
||||
if (isset($udfs['person_id'])) $person_id = $udfs['person_id'];
|
||||
unset($udfs['person_id']);
|
||||
|
||||
$prestudent_id = $udfs['prestudent_id'];
|
||||
$prestudent_id = null;
|
||||
if (isset($udfs['prestudent_id'])) $prestudent_id = $udfs['prestudent_id'];
|
||||
unset($udfs['prestudent_id']);
|
||||
|
||||
$jsons = array();
|
||||
|
||||
Reference in New Issue
Block a user