LSrelation : fix constructor method name

This commit is contained in:
Benjamin Renard 2020-05-01 15:56:47 +02:00
parent b500b7821e
commit 336b5307b3

View file

@ -26,7 +26,7 @@ class LSrelation {
private $relationName = null;
private $config = null;
public function LSrelation(&$obj,$relationName) {
public function __construct(&$obj,$relationName) {
$this -> obj =& $obj;
$this -> relationName = $relationName;
if (isset($obj->config['LSrelation'][$relationName]) && is_array($obj->config['LSrelation'][$relationName])) {