Skip to content

Commit

Permalink
Merge pull request #108 from iiYii/forecho
Browse files Browse the repository at this point in the history
修改bug
  • Loading branch information
forecho committed Nov 7, 2015
2 parents f017566 + 6d9e824 commit 433c89b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/modules/topic/models/Topic.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public function getFollower()
* @return array|null|\yii\db\ActiveRecord|static
* @throws NotFoundHttpException
*/
public function findModel($id, $condition = '')
public static function findModel($id, $condition = '')
{
// if (!($model = Yii::$app->cache->get('topic' . $id))) {
$model = static::find()
Expand Down

0 comments on commit 433c89b

Please sign in to comment.