Fix link generation for backward compatibility
This commit is contained in:
davidcallizaya
2017-05-30 12:03:33 -04:00
parent c0f512891f
commit 896b7bd204
2 changed files with 25 additions and 18 deletions

View File

@@ -881,7 +881,7 @@ class WebEntryEvent
{
try {
if (
(isset($record['WE_LINK_GENERATION']) && $record['WE_LINK_GENERATION']==='DEFAULT')
(!isset($record['WE_LINK_GENERATION']) || $record['WE_LINK_GENERATION']==='DEFAULT')
&& $record["WEE_WE_UID"] . "" != ""
) {
$http = (\G::is_https())? "https://" : "http://";