Fix PHP warning

This commit is contained in:
Benjamin Renard 2021-02-04 10:33:13 +01:00
parent 16373e6904
commit e05f0df20d

View file

@ -459,7 +459,7 @@ class LSattribute extends LSlog_staticLoggerClass {
*/ */
public function canBeGenerated() { public function canBeGenerated() {
$format = $this -> getConfig('generate_value_format', $this -> getConfig('default_value')); $format = $this -> getConfig('generate_value_format', $this -> getConfig('default_value'));
self :: log_debug($this."->canBeGenerated(): format='$format'"); self :: log_debug($this."->canBeGenerated(): format=".varDump($format));
return ( return (
(function_exists($this -> getConfig('generate_function'))) (function_exists($this -> getConfig('generate_function')))
|| ||