My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 18: ZendStudio gives warning
  Back to list
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

Powered by Google Project Hosting