Fixes from the 5.2.5 bugfix cycle.
This commit is contained in:
parent
6949f42a2c
commit
afbcfc7d56
17 changed files with 2422 additions and 36 deletions
|
|
@ -235,6 +235,14 @@ sub www_editProfileFieldSave {
|
|||
$session{form}{fieldLabel} = 'Unamed' if ($session{form}{fieldLabel} eq "" || $session{form}{fieldLabel} eq "''");
|
||||
$test = eval($session{form}{fieldLabel});
|
||||
$session{form}{fieldLabel} = "'".$session{form}{fieldLabel}."'" if ($test eq "");
|
||||
if ($session{form}{dataDefault} ne "") {
|
||||
unless ($session{form}{dataDefault} =~ /^\[/) {
|
||||
$session{form}{dataDefault} = "[".$session{form}{dataDefault};
|
||||
}
|
||||
unless ($session{form}{dataDefault} =~ /\]$/) {
|
||||
$session{form}{dataDefault} .= "]";
|
||||
}
|
||||
}
|
||||
if ($session{form}{new}) {
|
||||
($fieldName) = WebGUI::SQL->quickArray("select count(*) from userProfileField
|
||||
where fieldName=".quote($session{form}{fid}));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue