Minor - flint fixes

pull/2484/head
jmontoyaa 8 years ago
parent 3daf627d3b
commit 92b7b6d528
  1. 2
      main/auth/inscription.php
  2. 1
      main/cron/lang/list_unused_langvars.php
  3. 2
      main/inc/lib/fileManage.lib.php
  4. 6
      main/inc/lib/internationalization.lib.php

@ -377,8 +377,8 @@ if ($user_already_registered_show_terms === false) {
$captcha_question
);
}
}
if (isset($_SESSION['user_language_choice']) && $_SESSION['user_language_choice'] != '') {
$defaults['language'] = $_SESSION['user_language_choice'];
} else {

@ -85,4 +85,3 @@ foreach ($defined_terms as $term => $file) {
}
}
echo "</table>\n";

@ -347,7 +347,7 @@ function getextension($filename)
}
/**
* Get a list of all PHP (.php) files in a given directory. Includes .tpl files
* Get a list of all PHP (.php) files in a given directory. Includes .tpl files.
*
* @param string $base_path The base path in which to find the corresponding files
* @param bool $includeStatic Include static .html, .htm and .css files

@ -413,9 +413,9 @@ function api_get_timezone()
* @param bool $returnNullIfInvalidDate if the date is not correct return null instead of the current date
* @param bool $returnObj
*
* @return string|DateTime The DATETIME in UTC to be inserted in the DB,
* or null if the format of the argument is not supported
* or datetime
* @return string|DateTime The DATETIME in UTC to be inserted in the DB,
* or null if the format of the argument is not supported
* or datetime
*
* @author Julio Montoya - Adding the 2nd parameter
* @author Guillaume Viguier <guillaume.viguier@beeznest.com>

Loading…
Cancel
Save