Dear DocBase team,
If you try to delete a document which is refernced by
another you often are given a message that says it
cannot be deleted because it is referenced by another.
Quite often the wrong document is cited as the one that
is the referencer.
This is because you search for referencing documents
using the following:
SELECT id,title FROM $document_table where body
like '%<SPAN class=kbref id=%>%'
[document_list.php, line 27]
This matches any document which contains a reference.
It should read:
SELECT id,title FROM $document_table where body
like '%<SPAN class=kbref id=$docid>%'
With the above fix - it works just fine.
By the way, this is a great application. I had it up and
running on a Windows PC within about 10 minutes.
Regards,
Colin E.