fix last changes

This commit is contained in:
Rodney Figaro 2017-01-10 12:06:47 +01:00
parent f44f955329
commit bf9c1e3ab2
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,8 @@
<?php
define('FORM_DIR', __DIR__.'/../templates/form/');
if (!defined('FORM_DIR')) {
define('FORM_DIR', __DIR__.'/../templates/form/');
}
class FormBuilder
{

View File

@ -114,7 +114,7 @@ class GuideCategory extends ObjectModel
if ($exclude_id!='0') {
$sql .= " AND a.`id_category_family` <> '".intval($exclude_id)."'";
}
$rows = array;
$rows = array();
self::findRecursiveData(
$rows,
$sql,