Skip to content

Commit

Permalink
Fix: Missing lang loading
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Jan 5, 2014
1 parent 2832972 commit 667908b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions htdocs/commande/stats/index.php
Expand Up @@ -52,7 +52,9 @@
$endyear=$year;

$langs->load('orders');
$langs->load('companies');
$langs->load('other');
$langs->load('suppliers');


/*
Expand Down
6 changes: 4 additions & 2 deletions htdocs/core/tpl/document_actions_post_headers.tpl.php
@@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2013 Cédric Salvador <csalvador@gpcsolutions.fr>
/* Copyright (C) 2013 Cédric Salvador <csalvador@gpcsolutions.fr>
* Copyright (C) 2013 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand All @@ -16,12 +17,13 @@
* or see http://www.gnu.org/
*/

$langs->load("link");

/*
* Confirm suppression
*/

if ($action == 'delete')
if ($action == 'delete')
{
$ret = $form->form_confirm(
$_SERVER["PHP_SELF"] . '?id=' . $object->id . '&urlfile=' . urlencode(GETPOST("urlfile")) . '&linkid=' . GETPOST('linkid', 'int'),
Expand Down

0 comments on commit 667908b

Please sign in to comment.