projects
/
fusionforge
/
fusionforge.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
749dae7
)
Fix check not performd due to global missing in $ssy_use_shell
author
Alain Peyrat
<aljeux@free.fr>
Sun, 28 Jun 2009 08:56:29 +0000
(08:56 +0000)
committer
Alain Peyrat
<aljeux@free.fr>
Sun, 28 Jun 2009 08:56:29 +0000
(08:56 +0000)
gforge/common/include/account.php
patch
|
blob
|
history
diff --git
a/gforge/common/include/account.php
b/gforge/common/include/account.php
index 8f99b11bf234b9c5cda5344e252e1c2cffa99041..c03416b5bb5a34442bd692bc24e0bef749b59f32 100644
(file)
--- a/
gforge/common/include/account.php
+++ b/
gforge/common/include/account.php
@@
-45,6
+45,8
@@
function account_pwvalid($pw) {
*
*/
function account_namevalid($name) {
*
*/
function account_namevalid($name) {
+ global $sys_use_shell;
+
// no spaces
if (strrpos($name,' ') > 0) {
$GLOBALS['register_error'] = _('There cannot be any spaces in the login name.');
// no spaces
if (strrpos($name,' ') > 0) {
$GLOBALS['register_error'] = _('There cannot be any spaces in the login name.');