Fix constructor
This commit is contained in:
parent
0138ab3f7c
commit
6a2bb08107
@ -46,7 +46,7 @@ if (!is_object($websitepage))
|
|||||||
// Define $weblangs
|
// Define $weblangs
|
||||||
if (!is_object($weblangs))
|
if (!is_object($weblangs))
|
||||||
{
|
{
|
||||||
$weblangs = new Translate($db);
|
$weblangs = new Translate($db, $conf);
|
||||||
}
|
}
|
||||||
if ($pageid > 0)
|
if ($pageid > 0)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user