title: $_POST is not working on second page
body: <p><strong>- FIXED -</strong></p>
  
  <p>When i submit form, the row i want to edit in table is forcing 0 instead of setting 0 or 1 (when i switch). It means that table (row) is somehow getting value 0.</p>
  
  <p>This is my form:</p>
  
  <pre><code>&lt;form class="form-horizontal" action="&lt;?php echo BASE_URL?&gt;process.php?task=edit_notify" method="post"&gt;
      &lt;div class="form-group"&gt;
          &lt;div class="material-switch pull-left"&gt;
              &lt;p&gt;&lt;span class="control-label" style="color: rgba(75, 75, 75, 0.6); cursor: default;"&gt;&lt;?php echo ADMIN_NOTIFY; ?&gt;&lt;/span&gt;&lt;/p&gt;
              &lt;input id="allow_reg_msg" name="allow_reg_msg" type="checkbox" value="1" &lt;?php if($row['allow_reg_msg'] == 1) echo "checked='checked'"; ?&gt; /&gt;
              &lt;label for="allow_reg_msg" class="label-primary"&gt;&lt;/label&gt;
          &lt;/div&gt;
      &lt;/div&gt;&lt;/br&gt;
      &lt;div class="form-group"&gt;
          &lt;button type="submit" class="btn_"&gt;&lt;i class="fa fa-pencil"&gt;&lt;/i&gt; &lt;?php echo EDIT; ?&gt;&lt;/button&gt;
      &lt;/div&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>When i submit, it should send value to process.php page, here is the "process.php?task=edit_notify":</p>
  
  <pre><code>if(isset($_GET['task']) &amp;&amp; $_GET['task'] == "edit_notify"){
      if(!$user-&gt;isLoggedIn()) Redirect::to('index');
      if(!$user-&gt;hasPermission('admin')) Redirect::to('index');
      $allow_reg_msg = $_POST['allow_reg_msg'];
      $sql = "UPDATE `settings` SET 
          `allow_reg_msg` = :allow_reg_msg
      WHERE `id` = 1";
      $query = $handler-&gt;prepare($sql);
      $query-&gt;execute(array(
          ":allow_reg_msg" =&gt; $allow_reg_msg
      ));
      Session::flash('edit_site_success', SUCCESS_UPDATE);
      Redirect::to('admin/index.php?page=edit_site');
  }
  </code></pre>
  
  <p>And here are few images from my database:
  <a href="https://image.prntscr.com/image/aKDeTcqeQVWlP7akjSb75g.png" rel="nofollow noreferrer">image 1</a>,
  <a href="https://image.prntscr.com/image/IzQGrSilQaap7splEtf9xw.png" rel="nofollow noreferrer">image 2</a></p>