From abfd14da26429afeddf2bb11e31b5f0c169010cb Mon Sep 17 00:00:00 2001 From: mjollnir_ Date: Mon, 16 Jan 2006 08:59:20 +0000 Subject: [PATCH] Managed forum posts: missing restore fields. Beating Eloy to fix the bug before he reports it ;) --- mod/forum/restorelib.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mod/forum/restorelib.php b/mod/forum/restorelib.php index e049bf10568..ba692537522 100644 --- a/mod/forum/restorelib.php +++ b/mod/forum/restorelib.php @@ -65,6 +65,9 @@ $forum->rsstype = backup_todb($info['MOD']['#']['RSSTYPE']['0']['#']); $forum->rssarticles = backup_todb($info['MOD']['#']['RSSARTICLES']['0']['#']); $forum->timemodified = backup_todb($info['MOD']['#']['TIMEMODIFIED']['0']['#']); + $forum->warnafter = backup_todb($info['MOD']['#']['WARNAFTER']['0']['#']); + $forum->blockafter = backup_todb($info['MOD']['#']['BLOCKAFTER']['0']['#']); + $forum->blockperiod = backup_todb($info['MOD']['#']['BLOCKPERIOD']['0']['#']); //We have to recode the scale field if it's <0 (positive is a grade, not a scale) if ($forum->scale < 0) {