Skip to content

Commit

Permalink
Update areacode
Browse files Browse the repository at this point in the history
  • Loading branch information
aspangaro committed Oct 2, 2019
1 parent 848acb6 commit 94179f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion htdocs/accountancy/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
{
$step = 0;

$resultboxes=FormOther::getBoxesArea($user, "1"); // Load $resultboxes (selectboxlist + boxactivated + boxlista + boxlistb)
$resultboxes=FormOther::getBoxesArea($user, "27"); // Load $resultboxes (selectboxlist + boxactivated + boxlista + boxlistb)

print load_fiche_titre($langs->trans("AccountancyArea"), $resultboxes['selectboxlist'], 'accountancy');

Expand Down
2 changes: 1 addition & 1 deletion htdocs/core/class/html.formother.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -989,7 +989,7 @@ public function selectyear($selected = '', $htmlname = 'yearid', $useempty = 0,
* Class 'Form' must be known.
*
* @param User $user Object User
* @param String $areacode Code of area for pages - 0 = Home page / 1 = Accountancy page
* @param String $areacode Code of area for pages - 0 = Home page ... See getListOfPagesForBoxes()
* @return array array('selectboxlist'=>, 'boxactivated'=>, 'boxlista'=>, 'boxlistb'=>)
*/
public static function getBoxesArea($user, $areacode)
Expand Down

0 comments on commit 94179f7

Please sign in to comment.