Fix save content modified in COMMON_WIKIPAGE_SAVE
commit33d979e7a41d5c983aceb0aa3908108aa955c2db
authorMichael Große <mic.grosse@posteo.de>
Wed, 21 Sep 2016 14:48:16 +0000 (21 16:48 +0200)
committerGitHub <noreply@github.com>
Wed, 21 Sep 2016 14:48:16 +0000 (21 16:48 +0200)
tree2b1e7e2ec864aaaa5a1f1b1c000b78366c21b8e9
parent65d3a5db1b1c8fa46b1aa39f43ae3598dc6dafb4
Fix save content modified in COMMON_WIKIPAGE_SAVE

The event COMMON_WIKIPAGE_SAVE offers the opportunity to save the content by modifying $data['newContent']. However saveWikiText still saves the original $text variable instead of the possibly modified $svdta['newContent'].
inc/common.php