pyrocms/pyrocms — Issue #1013: Page module : Error when removing the wysiwyg before saving a new page
Author: pakacuda
Created: 2011-12-15 15:18:39+00:00
State: open

To reproduce :

- create a page
- fill required field except the main content in the wysiwyg editor
- click the remove button next to the wysiwyg editor
- click save button

A warning is raised, the page cannot be saved and you cant get the wysiwyg back to solvbe the problem.

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

Also, the user_message box says this : The Page body field is required.