Skip to content

Commit

Permalink
Update ustatus.php
Browse files Browse the repository at this point in the history
  • Loading branch information
rukshn committed Oct 28, 2014
1 parent ae48225 commit 90b9965
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/ustatus.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function userlogin($conn){
$query->execute();
$rows = $query->fetchAll(PDO::FETCH_ASSOC);

if($rows==true)
if($rows)
{
$token = $rows[0]['twitter_token'];
$secret = $rows[0]['twitter_secret'];
Expand Down

0 comments on commit 90b9965

Please sign in to comment.