Permalink
Browse files

need this to be ok with empty string

  • Loading branch information...
1 parent 89b521e commit d5e51b0ebed34e8bcb70d6acc4ab166d69857280 @jlipps committed Oct 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Sauce/Sausage/WebDriverTestCase.php
@@ -138,7 +138,7 @@ public function spinWait($msg, $test, $args=array(), $timeout=10)
protected function buildUrl($url)
{
- if ($url && $this->base_url !== NULL && !preg_match("/^http(s):/", $url)) {
+ if ($url !== NULL && $this->base_url !== NULL && !preg_match("/^http(s):/", $url)) {
if (strlen($url) && $url[0] == '/') {
$sep = '';
} else {

0 comments on commit d5e51b0

Please sign in to comment.