2
0
forked from Wavyzz/dolibarr

Fix travis errors

This commit is contained in:
Laurent Destailleur
2016-09-30 15:22:58 +02:00
parent cf12ddd659
commit d9ff53eb7f
3 changed files with 4 additions and 20 deletions

View File

@@ -1552,12 +1552,14 @@ class DolibarrModules // Can not be abstract, because we need to insta
/**
* Adds menu entries
*
* @return int Error count (0 if OK)
* @return int Error count (0 if OK)
*/
function insert_menus()
{
global $user;
if (! is_array($this->menu) || empty($this->menu)) return 0;
require_once DOL_DOCUMENT_ROOT . '/core/class/menubase.class.php';
$err=0;