#54 Problem with NoSuchRevision

Diff
closed
4
2012-10-11
2001-10-21
Steven Murdoch
No

If Diff cannot find a revision the NoSuchRevision()
function in stdlib.php is called, which in turn calls
GeneratePage(). However GeneratePage() is not defined
and a error message is displayed. This occurs due to
the problem with pageinfo mentioned in another bug report.

The GeneratePage() function of relevence seems to be
defined in Template.php so the attached patch includes
this file. This may not be the best way to do it, but
it works for me.

Discussion

  • Steven Murdoch
    Steven Murdoch
    2001-10-21

    Patch to stdlib.php

     
    Attachments
  • Logged In: YES
    user_id=45814

    Thank you (yet again) for the patch (which looks correct).
    I've just checked it into the CVS.