Skip to content

Commit

Permalink
Fix: Missing lang->load
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Feb 5, 2014
1 parent e3ac9db commit db006dc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion htdocs/compta/sociales/index.php
Expand Up @@ -27,12 +27,13 @@
require_once DOL_DOCUMENT_ROOT.'/compta/sociales/class/chargesociales.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formsocialcontrib.class.php';

$langs->load("compta");

// Security check
$socid = isset($_GET["socid"])?$_GET["socid"]:'';
if ($user->societe_id) $socid=$user->societe_id;
$result = restrictedArea($user, 'tax', '', '', 'charges');


$sortfield = GETPOST("sortfield",'alpha');
$sortorder = GETPOST("sortorder",'alpha');
$page = GETPOST("page",'int');
Expand Down

0 comments on commit db006dc

Please sign in to comment.