Permalink
Browse files

properly setting current url on request. fixing #321

  • Loading branch information...
Peter Adams
Peter Adams committed Mar 20, 2018
1 parent a3585a7 commit 00c3a91b7bbf7a0d3f089f9090852b72da1f6f3b
Showing with 1 addition and 1 deletion.
  1. +1 −1 owa_requestContainer.php
@@ -155,7 +155,7 @@ function __construct() {
$this->request_type = 'cli';
}
if ( $this->request_type === 'get' || $this->request_type === 'post' ) {
if ( $this->request_type != 'cli' ) {
$this->current_url = owa_lib::get_current_url();
}

0 comments on commit 00c3a91

Please sign in to comment.