Make EditPage robust against null content.
authordaniel <daniel.kinzler@wikimedia.de>
Thu, 18 Oct 2012 17:51:49 +0000 (19:51 +0200)
committerdaniel <daniel.kinzler@wikimedia.de>
Thu, 18 Oct 2012 17:51:49 +0000 (19:51 +0200)
commitfd966d17436c77b6f06f51f0e01cc5b5266386ee
tree5d0b05e546ead9209485164ed72e37ecd043a64a
parent6b59faefef0094cae7f1419526e2551fd1430122
Make EditPage robust against null content.

This adds some checks to avoid fatal errors due to access
to non-objects.

Change-Id: Ib0e867a9aed50226fa8c6f3af655cd11e7fb83ed
includes/EditPage.php