Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
(Resolved) [LetoDMS-3.0.0-RC3] - Known bugs and their correction
#4
(03-24-2011, 03:34 AM)Doudoux Wrote: In "inc/inc.ClassSession.php" file change line 75
PHP Code:
$queryStr "UPDATE tblSessions SET lastAccess = " mktime(). " WHERE id = '" $id "'"
to
PHP Code:
$queryStr "UPDATE tblSessions SET lastAccess = " time(). " WHERE id = '" $id "'"
see http://www.php.net/manual/en/function.mktime.php

mktime() returns a timestamp if called without parameters, just like time(). Using mktime() may not be very common, but it should not make a difference.

(03-24-2011, 03:34 AM)Doudoux Wrote: In "out/out.KeywordChooser.php" file change line 34
PHP Code:
$categories $dms->getAllKeywordCategories($userids);^
to
PHP Code:
$categories $dms->getAllKeywordCategories($userids); 
If you mean the ^M, this can be found all over the place because of different line endings.
Does this really make problems?

(03-24-2011, 03:34 AM)Doudoux Wrote: In "out/out.UserDefaultKeywords.php" file change line 70
PHP Code:
if ($category->getID()==$_GET["categoryid"]) $selected=$count
to
PHP Code:
if (isset($_GET["categoryid"]) && $category->getID()==$_GET["categoryid"]) $selected=$count
Fixed in next release.

Thanks for testing and reporting the bugs.

Uwe
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: