|
@@ -26,7 +26,7 @@ class SitePageTag extends Model
|
|
|
|
|
|
public static function getBySlug($slug, $perPage = 10)
|
|
|
{
|
|
|
- $tag = self::where('slug', $slug)->first();
|
|
|
+ $tag = self::where('slug', $slug)->where('dist_id', getDistId())->first();
|
|
|
|
|
|
if (!$tag) {
|
|
|
return null;
|