PHP/Compatibility

* should now work with php5 again
This commit is contained in:
Sarjuuk 2017-03-29 18:51:02 +02:00
parent 9ee7b44ddb
commit e5de7a8a45

View file

@ -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
{