Skip to content

Commit

Permalink
Merge branch 'w51_MDL-37128_m25_rssrestore' of git://github.com/skoda…
Browse files Browse the repository at this point in the history
…k/moodle
  • Loading branch information
danpoltawski committed Jan 7, 2013
2 parents 8057d3e + 3d89a36 commit 5083fe2
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ public function process_block($data) {
$configdata = $DB->get_field('block_instances', 'configdata', array('id' => $this->task->get_blockid()));
// Extract configdata
$config = unserialize(base64_decode($configdata));
if (empty($config)) {
$config = new stdClass();
}
// Set array of used rss feeds
$config->rssid = $feedsarr;
// Serialize back the configdata
Expand Down

0 comments on commit 5083fe2

Please sign in to comment.