Oops, that check is backwards..
authorMagnus Hagander <magnus@hagander.net>
Thu, 13 Aug 2009 08:52:24 +0000 (08:52 +0000)
committerMagnus Hagander <magnus@hagander.net>
Thu, 13 Aug 2009 08:52:24 +0000 (08:52 +0000)
git-svn-id: file:///Users/dpage/pgweb/svn-repo/trunk@2538 8f5c7a92-453e-0410-a47f-ad33c8a6b003

portal/system/global/pgform.php

index 91e99464a5539c07e18a2b0036f4606dd19172b9..6fb391f01205912cd95c5e8b1880602542d0818d 100644 (file)
@@ -91,7 +91,7 @@ abstract class PgForm extends PgPage  {
          $this->tpl->setVariable('page_title', $this->title);
       }
 
-      if ($this->navsection != 'admin') {
+      if ($this->navsection == 'admin') {
          // In the admin section, use a relative URL
          $this->form = new HTML_QuickForm('pgform', 'post', '/' . $this->url);
       } else {