Skip to content

Commit

Permalink
Merge pull request #15 from sl0wik/hotfix/fixed_website_filter
Browse files Browse the repository at this point in the history
Hotfix: fixed where in website filter
  • Loading branch information
sl0wik authored Mar 24, 2018
2 parents f8d60b0 + 73ac5ab commit a1471ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Models/Translation.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public static function getCached()
if (Cache::has($key)) {
$cached = Cache::get($key);
} else {
$cached = self::where($websiteId)->get();
$cached = self::where('website_id', $websiteId)->get();
Cache::put($class, $cached, config('cache.translations.lifetime', 10));
}

Expand Down

0 comments on commit a1471ec

Please sign in to comment.