portfolio MDL-24267 fixing misnamed variable

This commit is contained in:
Penny Leach 2010-09-18 11:50:39 +00:00
parent d8c05a383c
commit 2ae76ab6ed

View File

@ -326,7 +326,7 @@ abstract class portfolio_caller_base {
if (empty($this->supportedformats)) {
$specific = array();
} else if (!is_array($this->supportedformats)) {
debugging(get_class($caller) . ' has set a non array value of member variable supported formats - working around but should be fixed in code');
debugging(get_class($this) . ' has set a non array value of member variable supported formats - working around but should be fixed in code');
$specific = array($this->supportedformats);
} else {
$specific = $this->supportedformats;