From: <be...@us...> - 2015-10-20 00:07:38
|
Revision: 13163 http://sourceforge.net/p/xoops/svn/13163 Author: beckmi Date: 2015-10-20 00:07:35 +0000 (Tue, 20 Oct 2015) Log Message: ----------- fix profile/search (cesag/slider84) Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.8/docs/changelog.250.txt XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/search.php Modified: XoopsCore/branches/2.5.x/2.5.8/docs/changelog.250.txt =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/docs/changelog.250.txt 2015-10-17 17:57:30 UTC (rev 13162) +++ XoopsCore/branches/2.5.x/2.5.8/docs/changelog.250.txt 2015-10-20 00:07:35 UTC (rev 13163) @@ -26,6 +26,7 @@ - fix moved "count($tagsArray)" and "count($attrArray)" outside of FOR loop in xoopsfilterinput.php (mamba) - add option to set height of Themes block (mamba) - fix: Invalid argument supplied for foreach() (cesagonchu/mamba) +- fix profile/search (cesag/slider84) Security fixes Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/search.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/search.php 2015-10-17 17:57:30 UTC (rev 13162) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/profile/search.php 2015-10-20 00:07:35 UTC (rev 13163) @@ -111,7 +111,7 @@ case "date": case "datetime": - $searchform->addElement(new XoopsFormTextDateSelect(sprintf(_PROFILE_MA_LATERTHAN, $fields[$i]->getVar('field_title') ), $fields[$i]->getVar('field_name')."_larger", 15, 0)); + $searchform->addElement(new XoopsFormTextDateSelect(sprintf(_PROFILE_MA_LATERTHAN, $fields[$i]->getVar('field_title') ), $fields[$i]->getVar('field_name')."_larger", 15, 1)); $searchform->addElement(new XoopsFormTextDateSelect(sprintf(_PROFILE_MA_EARLIERTHAN, $fields[$i]->getVar('field_title') ), $fields[$i]->getVar('field_name')."_smaller", 15, time())); break; |