Skip to content

Commit 1c19238

Browse files
committed
grabs the content from ?content=
1 parent 5337aab commit 1c19238

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

controllers/authorize_controller.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,11 @@ public function twcallback(){
6666
* @param string $content
6767
* @return boolean
6868
*/
69-
public function sendtweet($content = null){
69+
public function sendtweet(){
7070
$sent = false;
7171
$oauthTokens = array();
72-
72+
$content = $this->params['url']['content'];
73+
7374
if($content && strlen($content) <= 140){
7475
$Http = new HttpSocketOauth();
7576

0 commit comments

Comments
 (0)