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 Jun 14, 2015
2 parents 14a8a22 + fdced80 commit 1007aba
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 3 deletions.
1 change: 1 addition & 0 deletions ChangeLog
Expand Up @@ -37,6 +37,7 @@ English Dolibarr ChangeLog
- Fix: [ bug #2545 ] Missing object_margin.png in Amarok theme
- Fix: [ bug #2542 ] Contracts store localtax preferences
- Fix: Bad permission assignments for stock movements actions
- Fix: [ bug #2891 ] Category hooks do not work

***** ChangeLog for 3.6.2 compared to 3.6.1 *****
- Fix: fix ErrorBadValueForParamNotAString error message in price customer multiprice.
Expand Down
3 changes: 3 additions & 0 deletions htdocs/categories/edit.php
Expand Up @@ -56,6 +56,9 @@
$extrafields = new ExtraFields($db);
$extralabels=$extrafields->fetch_name_optionals_label($object->table_element);

// Initialize technical object to manage hooks. Note that conf->hooks_modules contains array array
$hookmanager->initHooks(array('categorycard'));

/*
* Actions
*/
Expand Down
3 changes: 3 additions & 0 deletions htdocs/categories/fiche.php
Expand Up @@ -64,6 +64,9 @@
$extrafields = new ExtraFields($db);
$extralabels=$extrafields->fetch_name_optionals_label($object->table_element);

// Initialize technical object to manage hooks. Note that conf->hooks_modules contains array array
$hookmanager->initHooks(array('categorycard'));

/*
* Actions
*/
Expand Down
3 changes: 3 additions & 0 deletions htdocs/categories/viewcat.php
Expand Up @@ -63,6 +63,9 @@
$extrafields = new ExtraFields($db);
$extralabels = $extrafields->fetch_name_optionals_label($object->table_element);

// Initialize technical object to manage hooks. Note that conf->hooks_modules contains array array
$hookmanager->initHooks(array('categorycard'));

/*
* Actions
*/
Expand Down
2 changes: 1 addition & 1 deletion htdocs/core/tpl/objectline_create.tpl.php
Expand Up @@ -184,7 +184,7 @@
<td align="right"><?php
if (GETPOST('prod_entry_mode') != 'predef')
{
if ($seller->tva_assuj == "0") echo '<input type="hidden" name="tva_tx" value="0">0';
if ($seller->tva_assuj == "0") echo '<input type="hidden" name="tva_tx" value="0"> '.vatrate(0, true);
else echo $form->load_tva('tva_tx', (isset($_POST["tva_tx"])?$_POST["tva_tx"]:-1), $seller, $buyer);
}
?>
Expand Down
4 changes: 2 additions & 2 deletions htdocs/product/liste.php
Expand Up @@ -49,8 +49,8 @@
$type=GETPOST("type","int");
$search_sale = GETPOST("search_sale");
$search_categ = GETPOST("search_categ",'int');
$tosell = GETPOST("tosell");
$tobuy = GETPOST("tobuy");
$tosell = GETPOST("tosell", 'int');
$tobuy = GETPOST("tobuy", 'int');
$fourn_id = GETPOST("fourn_id",'int');
$catid = GETPOST('catid','int');

Expand Down

0 comments on commit 1007aba

Please sign in to comment.