mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-28 01:19:28 +00:00
- statistik.class.php, fixed error: only non-published statistiken were loaded by default, now all are loaded
This commit is contained in:
@@ -164,9 +164,9 @@ class statistik extends basis_db
|
||||
public function getGruppe($gruppe,$publish=null)
|
||||
{
|
||||
$qry = "SELECT * FROM public.tbl_statistik WHERE gruppe=".$this->db_add_param($gruppe);
|
||||
if ($publish==true)
|
||||
if ($publish===true)
|
||||
$qry.=' AND publish ';
|
||||
elseif ($publish==false)
|
||||
elseif ($publish===false)
|
||||
$qry.=' AND NOT publish ';
|
||||
$qry.=' ORDER BY bezeichnung;';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user