Fix $db not defined
This commit is contained in:
parent
7be8b14368
commit
a2da98c08a
@ -88,7 +88,7 @@ function dolSavePageAlias($filealias, $object, $objectpage)
|
||||
*/
|
||||
function dolSavePageContent($filetpl, Website $object, WebsitePage $objectpage)
|
||||
{
|
||||
global $conf;
|
||||
global $conf, $db;
|
||||
|
||||
// Now create the .tpl file (duplicate code with actions updatesource or updatecontent but we need this to save new header)
|
||||
dol_syslog("We regenerate the tpl page filetpl=".$filetpl);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user