MDL-31172 fix variable name typo in backup file logger

This commit is contained in:
Petr Skoda
2012-01-21 20:19:34 +01:00
parent f6b4ec2b4a
commit 64cec5b2b0
+1 -1
View File
@@ -61,7 +61,7 @@ class file_logger extends base_logger {
public function __wakeup() {
if ($this->level > backup::LOG_NONE) { // Only create the file if we are going to log something
if (! $this->fhandle = fopen($this->fullpath, 'a')) {
throw new base_logger_exception('error_opening_file', $fullpath);
throw new base_logger_exception('error_opening_file', $this->fullpath);
}
}
}