Changeset 8645
- Timestamp:
- 08/22/10 13:06:48 (21 months ago)
- File:
-
- 1 edited
-
trunk/core/lib/Foswiki/Func.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/core/lib/Foswiki/Func.pm
r8626 r8645 1547 1547 ( $web, $topic ) = _validateWTA( $web, $topic ); 1548 1548 my $topicObject = 1549 Foswiki::Meta->new( $Foswiki::Plugins::SESSION, $web, $topic , $text);1549 Foswiki::Meta->new( $Foswiki::Plugins::SESSION, $web, $topic ); 1550 1550 1551 1551 unless ( $topicObject->haveAccess('CHANGE') ) { … … 1555 1555 } 1556 1556 1557 # Set the new text and meta, now that access to the existing topic 1558 # is verified 1559 $topicObject->text( $text ); 1557 1560 $topicObject->copyFrom($smeta) if $smeta; 1558 1561 return $topicObject->save(%$options);
Note: See TracChangeset
for help on using the changeset viewer.
