#2 Undefined Variable Warning

closed-duplicate
nobody
5
2009-11-25
2006-01-20
Anonymous
No

In the openSRS_base.php class file, line 951 reads:

} else if (!preg_match( '/' . $OPENSRS_TLDS_REGEX .
'$/', $domain )) {

This will cause the preg_match in the "else if" to miss
all the time because $OPENSRS_TLDS_REGEX isn't defined.

It should read:

} else if (!preg_match( '/' . $this->OPENSRS_TLDS_REGEX
. '$/', $domain )) {

Please let me know if you need anything else.

Tom Walsh

Discussion

  • HM2K

    HM2K - 2009-11-25

    This is now already fixed in the SVN. Thanks.

     
  • HM2K

    HM2K - 2009-11-25
    • status: open --> closed-duplicate
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks