Skip to content

Commit

Permalink
// undefined var
Browse files Browse the repository at this point in the history
  • Loading branch information
gRoussac committed Mar 12, 2014
1 parent 8d9dd71 commit 05aec38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -1084,7 +1084,7 @@ function quickSelect(elt)

function changeEmployeeLanguage()
{
if (allowEmployeeFormLang)
if (typeof allowEmployeeFormLang !== 'undefined' && allowEmployeeFormLang)
$.post("index.php", {
action: 'formLanguage',
tab: 'AdminEmployees',
Expand Down

0 comments on commit 05aec38

Please sign in to comment.