Index: trunk/extensions/EducationProgram/actions/EPRestoreAction.php |
— | — | @@ -209,4 +209,4 @@ |
210 | 210 | ); |
211 | 211 | } |
212 | 212 | |
213 | | -} |
\ No newline at end of file |
| 213 | +} |
Index: trunk/extensions/EducationProgram/includes/EPRevisionedObject.php |
— | — | @@ -325,7 +325,7 @@ |
326 | 326 | */ |
327 | 327 | public function restoreToRevisionId( $revId, array $fields = null ) { |
328 | 328 | $revision = $this->getRevisionById( $revId ); |
329 | | - return $revision === false ? false : $this->restoreToRevision( $revision ); |
| 329 | + return $revision === false ? false : $this->restoreToRevision( $revision, $fields ); |
330 | 330 | } |
331 | 331 | |
332 | 332 | } |