Hi.
I recently completed a migration to a new server, but all the configurations should be the same. Now I am getting the following error message:
Notice: Undefined property: stdClass::$block_reportingservices_window in C:\www\blocks\reportingservices\block_reportingservices.php on line 48
The offending line 48 is the one that begins with $target below. Can anyone see why I am getting this error? How do I fix it?
$this->content = new stdClass;
$this->content->items = array();
$this->content->icons = array();
$this->content->footer = '';
$icon = "<img src=\"$CFG->pixpath/i/course.gif\"".
" class=\"icon\" alt=\"".get_string("coursecategory")."\" />";
$target = !($CFG->block_reportingservices_window) ? ' target="_blank"' : '';
$this->content->items[] = '<a ' . $target . ' href="http://test.com">How to Use This Block</a>';
Thanks.