per bug 41244 and 41303, handle null or false params in TextContent constructor
authoraude <aude.wiki@gmail.com>
Tue, 23 Oct 2012 15:42:20 +0000 (15:42 +0000)
committeraude <aude.wiki@gmail.com>
Tue, 23 Oct 2012 15:42:20 +0000 (15:42 +0000)
commita17660fbd08d5075daa17f98a09ff86eadd64d04
tree0d503c7c184b3dcc64b0016f8c32b9ba1036a45a
parent015419ff1c51d9c8ad2d82d525ac7b3ec453c5b7
per bug 41244 and 41303, handle null or false params in TextContent constructor

Instead of throwing exception in these cases (which there are use cases for),
create an empty TextContent object.

Change-Id: Ice30ea78428d95805aa56cd3a35405aa67ad10ab
includes/content/TextContent.php