浏览代码

_top bug, yet another help from Simon

teepe 23 年之前
父节点
当前提交
12fb89fdcd
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/options.php

+ 1 - 1
src/options.php

@@ -228,7 +228,7 @@ if ($optpage == SMOPT_PAGE_MAIN) {
     /* First, display the results of a submission, if needed. */
     /**********************************************************/
     if ($optmode == SMOPT_MODE_SUBMIT) {
-        if (isset($frame_top)) {
+        if (!isset($frame_top)) {
             $frame_top = '_top';
         }
         /* Display a message indicating a successful save. */