Subject: | There are an simple error: if($get =... |
Summary: | Package rating comment |
Messages: | 1 |
Author: | Julio Cesar Fagundes Fonseca |
Date: | 2010-05-24 23:47:55 |
|
|
|
Julio Cesar Fagundes Fonseca rated this package as follows:
Utility: | Not sure |
Consistency: | Not sure |
|
Julio Cesar Fagundes Fonseca - 2010-05-24 23:47:55
There are an simple error:
if($get = -> (==) 'percent' || $get =(=) '%'){
return floor($jsoncallback['remaining_hits']/$jsoncallback['hourly_limit']*100);
} else if($get =(=) 'hits'){
return $jsoncallback['remaining_hits'];
} else if($get =(=) 'limit'){
return $jsoncallback['hourly_limit'];
} else if($get =(=) 'reset'){
return $jsoncallback['reset_time_in_seconds'];
}
|