restrict statistik kurzbz

This commit is contained in:
Robert Hofer
2014-12-18 14:13:10 +00:00
parent f738051830
commit 6700cb499d
+4
View File
@@ -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)