Partial correctness fix; use lazy-loading $this->getTitle() instead of $this->mTitle...
authorBrion Vibber <brion@users.mediawiki.org>
Thu, 8 May 2008 19:26:41 +0000 (19:26 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Thu, 8 May 2008 19:26:41 +0000 (19:26 +0000)
commitc3193cbcd00e6d817045d7d8d19b67dae0620b08
tree19da718b2c2f1588d2bf6de04a05be455eff9ee6
parent53c92d6627413f34fdbb33397a7dfd5fd8b7277a
Partial correctness fix; use lazy-loading $this->getTitle() instead of $this->mTitle in Revision::getPrevious() and Revision::getNext().
This will ensure they work even if the objects were fetched in a way that didn't initialize $this->mTitle... unless they aren't fully saved in the DB, in which case they'll still fail with a fatal error.
includes/Revision.php