pyrocms/pyrocms — Issue #1046: removing the only page chunk
Author: boazhachlili
Created: 2011-12-29 12:13:41+00:00
State: open

If I remove the only page chunk (default...) for a page, I get an error:

Message: Invalid argument supplied for foreach()
Filename: controllers/admin.php
Line Number: 658

If the REMOVE button is disabled when there's only one page chunk for the page, this will be solved.