Can't use function return value in write context

Such an error arises if the function is passed to the empty. Empty supports only work with variables.

My solution was:

file /inc/classes/BxDolTemplate.php  row 364

replace by:

$getParam_sys_embedly_api_key = getParam('sys_embedly_api_key');
$getParam_sys_embedly_api_pattern = getParam('sys_embedly_api_pattern');
$bEmbedly = !empty($getParam_sys_embedly_api_key) && !empty($getParam_sys_embedly_api_pattern);

 

  • 1164
  • More
Replies (1)
    Login or Join to comment.