diff --git a/include/statistik.class.php b/include/statistik.class.php index 96304eae3..c2bf7d642 100644 --- a/include/statistik.class.php +++ b/include/statistik.class.php @@ -254,6 +254,10 @@ class statistik extends basis_db if(is_null($new)) $new = $this->new; + /* Da derzeit die statistik_kurzbz der primary key in der DB ist, + * darf er vorerst nur [a-zA-Z0-9_] (\w) enthalten. (bis auf autoincrement + * integer umgestellt ist) + */ $this->statistik_kurzbz = preg_replace('/\W/', '', $this->statistik_kurzbz); if($new)