projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix SUID
[platal.git]
/
modules
/
profile
/
general.inc.php
diff --git
a/modules/profile/general.inc.php
b/modules/profile/general.inc.php
index
ac81f59
..
b00542e
100644
(file)
--- a/
modules/profile/general.inc.php
+++ b/
modules/profile/general.inc.php
@@
-53,7
+53,7
@@
class ProfileNom implements ProfileSetting
|| ($field == 'nom' && $new == 'DE ' . $old);
if (!$success) {
global $page;
|| ($field == 'nom' && $new == 'DE ' . $old);
if (!$success) {
global $page;
- $page->trig("Le $field que tu as choisi ($value) est trop loin de ton $field initial ($init)"
+ $page->trig
Error
("Le $field que tu as choisi ($value) est trop loin de ton $field initial ($init)"
. (($init == $current)? "" : " et de ton prénom précédent ($current)"));
}
return $success ? $value : $current;
. (($init == $current)? "" : " et de ton prénom précédent ($current)"));
}
return $success ? $value : $current;
@@
-197,7
+197,7
@@
class ProfileGeneral extends ProfilePage
}
}
}
}
- public function _prepare(Pl
atal
Page &$page, $id)
+ public function _prepare(PlPage &$page, $id)
{
require_once "applis.func.inc.php";
}
{
require_once "applis.func.inc.php";
}