Issue 18: ZendStudio gives warning
Status:  Fixed
Owner: ----
Closed:  Nov 2010
Reported by nielsba...@gmail.com, Nov 21, 2010
Hi,

Yes, it's terribly minor (or even less), anyway I get a nice warning 'assignment in condition' in the openid.php file at line 340 when working with ZendStudio:

"
$content = $this->request($url, 'GET');
if ($location = $this->htmlTag($content, 'meta', 'http-equiv', 'X-XRDS-Location', 'value')) {
   $url = $this->build_url(parse_url($url), parse_url($location));
    continue;
       }
"

If you just replace it with something like this, ZendStudio is happy as well. Tnx!

"
$content = $this->request($url, 'GET');
$location = $this->htmlTag($content, 'meta', 'http-equiv', 'X-XRDS-Location', 'value');
 if ($location=='') {
$url = $this->build_url(parse_url($url), parse_url($location));
 continue;
 }



Nov 22, 2010
Project Member #1 mewp...@gmail.com
Not really a problem with LightOpenID, but fixed anyway.
Status: Fixed