HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

If orphaned catalogue entries exist, a search will produce a stack dump

Title If orphaned catalogue entries exist, a search will produce a stack dump
Description This is not a bug in itself, but it is caused by a corruption caused by this bug.
Affects Users who have deleted non-empty catalogues
Fix Change line 301 of sources/hooks/modules/search/catalogue_entries.php from:

Code

      global $SEARCH_CATALOGUE_ENTRIES_CATALOGUES;
to:

Code

      global $SEARCH_CATALOGUE_ENTRIES_CATALOGUES;
      if (!array_key_exists($catalogue_name,$SEARCH_CATALOGUE_ENTRIES_CATALOGUES)) return new ocp_tempcode();


Trackbacks

There have been no trackbacks yet