Index: trunk/extensions/SemanticForms/includes/SF_LinkUtils.inc |
— | — | @@ -93,7 +93,7 @@ |
94 | 94 | // make sure it's in the form namespace |
95 | 95 | if ($res[0]->getNamespace() == SF_NS_FORM) { |
96 | 96 | $form_name = $res[0]->getTitle()->getText(); |
97 | | - return $form_name; |
| 97 | + return array($form_name); |
98 | 98 | } |
99 | 99 | } |
100 | 100 | // if that didn't work, try any aliases that may exist |
— | — | @@ -107,7 +107,7 @@ |
108 | 108 | // make sure it's in the form namespace |
109 | 109 | if ($res[0]->getNamespace() == SF_NS_FORM) { |
110 | 110 | $form_name = $res[0]->getTitle()->getText(); |
111 | | - return $form_name; |
| 111 | + return array($form_name); |
112 | 112 | } |
113 | 113 | } |
114 | 114 | } |