Skip to content

Commit 3c2d4f5

Browse files
committed
Fixes Twitter-Caching
1 parent 22bd641 commit 3c2d4f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/module/Phpug/src/Phpug/Controller/TwitterController.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ public function getUgListAction()
8585
$count = count($result);
8686
$info = array();
8787
for ($i = 0; $i < $count; $i++) {
88-
$result = $twitter->usersLookup($result[$i]);
89-
$info = array_merge($info, Json::decode($result->getRawResponse(),Json::TYPE_ARRAY));
88+
$res = $twitter->usersLookup($result[$i]);
89+
$info = array_merge($info, Json::decode($res->getRawResponse(),Json::TYPE_ARRAY));
9090
}
9191

9292
echo Json::encode($info);

0 commit comments

Comments
 (0)