Index: trunk/extensions/SemanticForms/includes/SF_ParserFunctions.php |
— | — | @@ -225,7 +225,7 @@ |
226 | 226 | $str .= Xml::element( 'input', array( |
227 | 227 | 'type' => 'button', |
228 | 228 | 'value' => $inLinkStr, |
229 | | - 'onclick' => 'window.location.href=' . $link_url |
| 229 | + 'onclick' => "window.location.href='$link_url'", |
230 | 230 | ) ) . "</form>"; |
231 | 231 | } elseif ( $inLinkType == 'post button' ) { |
232 | 232 | $str = "<form action=\"$link_url\" method=\"post\" $popupClassString>"; |