Index: trunk/extensions/SemanticForms/specials/SF_FormStart.php |
— | — | @@ -127,9 +127,9 @@ |
128 | 128 | $targetName = SFUtils::titleURLString( $targetTitle ); |
129 | 129 | // Special handling for forms whose name contains a slash. |
130 | 130 | if ( strpos( $formName, '/' ) !== false ) { |
131 | | - return $fe->getTitle()->getFullURL( array( 'form' => $formName, 'target' => $targetName ) ); |
| 131 | + return $fe->getTitle()->getLocalURL( array( 'form' => $formName, 'target' => $targetName ) ); |
132 | 132 | } |
133 | | - return $fe->getTitle()->getFullURL() . "/" . $formName . "/" . $targetName; |
| 133 | + return $fe->getTitle( "$formName/$targetName" )->getLocalURL(); |
134 | 134 | } |
135 | 135 | |
136 | 136 | function doRedirect( $form_name, $page_name, $params ) { |