- Timestamp:
- Oct 12, 2007 6:40:28 AM (17 years ago)
- Location:
- trunk/lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/SortOrder.inc.php
r247 r281 143 143 144 144 if (!empty($this->_columns[mb_strtolower($this->sort_by)][mb_strtolower($this->order)])) { 145 return sprintf(' ORDER BY %s ', $ db->escapeString($this->_columns[mb_strtolower($this->sort_by)][mb_strtolower($this->order)]));145 return sprintf(' ORDER BY %s ', $this->_columns[mb_strtolower($this->sort_by)][mb_strtolower($this->order)]); 146 146 } else { 147 147 $app->logMsg(sprintf('Could not find SQL to sort by %s %s.', $this->sort_by, $this->order), LOG_WARNING, __FILE__, __LINE__); -
trunk/lib/Validator.inc.php
r279 r281 206 206 $app =& App::getInstance(); 207 207 208 if ('' == trim($val)) { 209 // Don't be too bothered about empty strings. 210 return true; 211 } 212 208 213 $timestamp = strtotime($val); 209 214 // Return values change between php4 and php5.
Note: See TracChangeset
for help on using the changeset viewer.