PHP/Compatibility
* should now work with php5 again
This commit is contained in:
parent
9ee7b44ddb
commit
e5de7a8a45
1 changed files with 4 additions and 1 deletions
|
|
@ -291,7 +291,10 @@ class GenericPage
|
|||
|
||||
// determine contribute tabs
|
||||
if (isset($this->subject))
|
||||
$this->contribute = $this->subject::$contribute;
|
||||
{
|
||||
$x = get_class($this->subject);
|
||||
$this->contribute = $x::$contribute;
|
||||
}
|
||||
|
||||
if (!empty($this->hasComContent)) // get comments, screenshots, videos
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue