Managed forum posts: missing restore fields. Beating Eloy to fix the bug before he reports it ;)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user