@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | self::$_can_cache_content_string = ''; |
38 | 38 | if ($this->owner->hasMethod('canCachePage')) { |
39 | 39 | // if it can cache the page, then it the cache string will remain empty. |
40 | - self::$_can_cache_content_string .= $this->owner->canCachePage() ? '' : 'can-no-cache-' . $this->owner->ID. '_'.rand(0, 99999999999999999); |
|
40 | + self::$_can_cache_content_string .= $this->owner->canCachePage() ? '' : 'can-no-cache-' . $this->owner->ID . '_' . rand(0, 99999999999999999); |
|
41 | 41 | } |
42 | 42 | |
43 | 43 | //action |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | if ($member && $member->exists()) { |
66 | 66 | self::$_can_cache_content_string .= $member->ID; |
67 | 67 | } |
68 | - if (! $this->canCacheCheck()) { |
|
68 | + if (!$this->canCacheCheck()) { |
|
69 | 69 | return false; |
70 | 70 | } |
71 | 71 | // we are ok! |