cast to array
db formatting
Merge branch 'master' of github.com:fischimglas/jb

Conflicts:
	db/db_table.php
	view/grid.php