Update init.php
Merge pull request #258 from andryyy/patch-2

Update init.php
fix crash in filter preferences