Fix scrutinizer
This commit is contained in:
parent
0713c27a5d
commit
266a4b2891
@ -145,6 +145,8 @@ class mod_codeproduct_elephant extends ModeleProductCode
|
||||
*/
|
||||
public function getExample($langs, $objproduct = 0, $type = -1)
|
||||
{
|
||||
$exampleproduct = $exampleservice = '';
|
||||
|
||||
if ($type == 0 || $type == -1) {
|
||||
$exampleproduct = $this->getNextValue($objproduct, 0);
|
||||
if (!$exampleproduct) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user