Changeset 799
- Timestamp:
- Aug 9, 2023 7:07:14 PM (9 months ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/TemplateGlue.inc.php
r772 r799 163 163 * @param bool $sort Sort the output. 164 164 */ 165 function printSetCheckboxes($db_table, $db_col, $preselected, $columns=1, $flag=null, $sort )165 function printSetCheckboxes($db_table, $db_col, $preselected, $columns=1, $flag=null, $sort=false) 166 166 { 167 167 ?> -
trunk/lib/Validator.inc.php
r770 r799 401 401 } 402 402 403 if ( false === strtotime($val)) {403 if (!$val || false === strtotime($val)) { 404 404 $app->logMsg(sprintf('%s (line %s) failed: %s', __METHOD__, __LINE__, getDump($val)), $type, $file, $line); 405 405 return false; -
trunk/services/logs.php
r767 r799 261 261 $log = file($app->getParam('log_directory') . '/' . $log_file); 262 262 263 if ( '' != trim($search_query)) {263 if (isset($search_query) && '' != trim($search_query)) { 264 264 if (getFormData('search_grep')) { 265 265 $log = preg_grep('/' . str_replace('/', '\/', $search_query) . '/', $log);
Note: See TracChangeset
for help on using the changeset viewer.