Fixed on delete in Pages table

Conflicts:
	inc/database.php