Skip to content

Commit

Permalink
Merge branch '3.6' of git@github.com:Dolibarr/dolibarr.git into 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Aug 26, 2014
2 parents 1e28fd3 + ca7ff0e commit 21ff810
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion htdocs/core/menus/standard/eldy.lib.php
Expand Up @@ -1236,7 +1236,7 @@ function print_left_eldy_menu($db,$menu_array_before,$menu_array_after,&$tabMenu
else dol_print_error($db);
$db->free($resql);
}
if ($conf->ftp->enabled && $mainmenu == 'ftp') // Entry for FTP
if (!empty($conf->ftp->enabled) && $mainmenu == 'ftp') // Entry for FTP
{
$MAXFTP=20;
$i=1;
Expand Down
2 changes: 1 addition & 1 deletion htdocs/fichinter/class/fichinter.class.php
Expand Up @@ -227,7 +227,7 @@ function update($user, $notrigger=0)
$this->db->begin();

$sql = "UPDATE ".MAIN_DB_PREFIX."fichinter SET ";
$sql.= ", description = '".$this->db->escape($this->description)."'";
$sql.= "description = '".$this->db->escape($this->description)."'";
$sql.= ", duree = ".$this->duree;
$sql.= ", fk_projet = ".$this->fk_project;
$sql.= ", note_private = ".($this->note_private?"'".$this->db->escape($this->note_private)."'":"null");
Expand Down

0 comments on commit 21ff810

Please sign in to comment.