Plugin Directory

Changeset 200410


Ignore:
Timestamp:
02/01/2010 08:19:55 AM (16 years ago)
Author:
geraldyeo
Message:
 
Location:
url-shortener
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • url-shortener/tags/2.0.1/req/class.FTShorten.php

    r199032 r200410  
    4949                        $result = $this->openurl('http://api.bit.ly/shorten?version=2.0.1&longUrl='.$surl.'&login='.$sname.'&apiKey='.$skey);
    5050                        $json = $this->processjson($result);
    51                         $data = $json->results->$url->shortUrl;
     51                        $data = $json->results->$nurl->shortUrl;
    5252                    }
    5353                    break;             
  • url-shortener/trunk/req/class.FTShorten.php

    r199029 r200410  
    4949                        $result = $this->openurl('http://api.bit.ly/shorten?version=2.0.1&longUrl='.$surl.'&login='.$sname.'&apiKey='.$skey);
    5050                        $json = $this->processjson($result);
    51                         $data = $json->results->$url->shortUrl;
     51                        $data = $json->results->$nurl->shortUrl;
    5252                    }
    5353                    break;             
Note: See TracChangeset for help on using the changeset viewer.