Fix fatal error on delete wallpost page
Trying to access blocktype/wall/deletepost.php with a bad wallpost id
creates a new empty View object, and attempts to commit it to the db
when the View destructor is called. This fails with an sql error, and
then a PHP Fatal error.
Change-Id: I7e462cc4ea6cda0611e432336839d153bbd0a42e
Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
Please register or sign in to comment