Skip to content

Commit

Permalink
Fix __toString
Browse files Browse the repository at this point in the history
  • Loading branch information
sk-unikent committed Dec 5, 2014
1 parent c8e80d6 commit 5b0a94c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/URL.php
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,6 @@ public function get_search_url() {
* To String!
*/
public function __toString() {
return $this->get_url();
return $this->get_search_url();
}
}
}

0 comments on commit 5b0a94c

Please sign in to comment.