Index: trunk/extensions/SemanticForms/includes/SF_FormEditTab.php |
— | — | @@ -9,7 +9,7 @@ |
10 | 10 | $fname = 'SFFormEditTab'; |
11 | 11 | // make sure that this is not itself a category page, and that the user |
12 | 12 | // is allowed to edit it |
13 | | - if (($obj->mTitle != null) && ($obj->mTitle->getNamespace() != NS_CATEGORY)) { |
| 13 | + if (isset($obj->mTitle) && ($obj->mTitle->getNamespace() != NS_CATEGORY)) { |
14 | 14 | $form_name = sffGetFormForArticle($obj); |
15 | 15 | if ($form_name) { |
16 | 16 | global $wgRequest; |