Changeset 200410
- Timestamp:
- 02/01/2010 08:19:55 AM (16 years ago)
- Location:
- url-shortener
- Files:
-
- 2 edited
-
tags/2.0.1/req/class.FTShorten.php (modified) (1 diff)
-
trunk/req/class.FTShorten.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
url-shortener/tags/2.0.1/req/class.FTShorten.php
r199032 r200410 49 49 $result = $this->openurl('http://api.bit.ly/shorten?version=2.0.1&longUrl='.$surl.'&login='.$sname.'&apiKey='.$skey); 50 50 $json = $this->processjson($result); 51 $data = $json->results->$ url->shortUrl;51 $data = $json->results->$nurl->shortUrl; 52 52 } 53 53 break; -
url-shortener/trunk/req/class.FTShorten.php
r199029 r200410 49 49 $result = $this->openurl('http://api.bit.ly/shorten?version=2.0.1&longUrl='.$surl.'&login='.$sname.'&apiKey='.$skey); 50 50 $json = $this->processjson($result); 51 $data = $json->results->$ url->shortUrl;51 $data = $json->results->$nurl->shortUrl; 52 52 } 53 53 break;
Note: See TracChangeset
for help on using the changeset viewer.