mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-20 00:12:15 +00:00
Permission Problem workaround
This commit is contained in:
@@ -49,8 +49,14 @@ class benutzer extends person
|
||||
* Laedt Benutzer mit der uebergebenen ID
|
||||
* @param $uid ID der Person die geladen werden soll
|
||||
*/
|
||||
public function load($uid)
|
||||
public function load($uid = null)
|
||||
{
|
||||
if (empty($uid))
|
||||
{
|
||||
$this->errormsg = "UID not set!";
|
||||
return false;
|
||||
}
|
||||
|
||||
$qry = "SELECT * FROM public.tbl_benutzer WHERE uid=".$this->db_add_param($uid);
|
||||
|
||||
if($this->db_query($qry))
|
||||
|
||||
Reference in New Issue
Block a user