Re: [phpOpenTracker-User] v1.2 first bugs :)

Jean-Christian Imbeault <[email protected]>
Newsgroups gmane.comp.web.phpopentracker.general
Message-ID <[email protected]>
Here are my suggested bug fixes. I haven't tested them yet but I think
they should work. But I don't know how it would affect MySQL. Can you
give me your opinion?

API/plugins/top.php

line: 122
-$dataConstraint = 'AND accesslog.entry_document = 1';
+$dataConstraint = 'AND accesslog.entry_document = true';

API/Plugin.php

line: 90
-" AND accesslog%s.document_id = %d AND accesslog%s.entry_document = 1",
+" AND accesslog%s.document_id = %d AND accesslog%s.entry_document = true",

LoggingEngine.php

line: 229
-$this->container['first_request'] ? 1 : 0
+$this->container['first_request'] ? "true" : "false"


Jean-Christian Imbeault



-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.