lib/TWiki/UI/Save.pm
changeset 1 e2915a7cbdfa
parent 0 414e01d06fd5
     1.1 --- a/lib/TWiki/UI/Save.pm	Sat Jan 26 15:50:53 2008 +0100
     1.2 +++ b/lib/TWiki/UI/Save.pm	Mon Aug 11 20:30:19 2008 +0200
     1.3 @@ -226,6 +226,11 @@
     1.4              # chuck up if there is at least one field value defined in the
     1.5              # query and a mandatory field was not defined in the
     1.6              # query or by an existing value.
     1.7 +	    # Item5428: clean up <nop>'s
     1.8 +	    @$missing = map {
     1.9 +	    			s/<nop>//g;
    1.10 +				$_
    1.11 +	    			} @$missing;
    1.12              throw TWiki::OopsException(
    1.13                  'attention',
    1.14                  def=>'mandatory_field',
    1.15 @@ -293,7 +298,7 @@
    1.16              if( $formDef && $prevMeta ) {
    1.17                  $newMeta->merge( $prevMeta, $formDef );
    1.18              }
    1.19 -            $merged = [ $orev, $author, $rev||1 ];
    1.20 +            $merged = [ $orev, $session->{users}->getWikiName($author), $rev||1 ];
    1.21          }
    1.22      }
    1.23