Project

General

Profile

« Previous | Next » 

Revision 1071

Added by Matthias over 15 years ago

changed in modules/admin.php and admin/pages/add.php mktime() to time()

View differences:

admin.php
163 163

  
164 164
// Work-out if the developer wants us to update the timestamp for when the page was last modified
165 165
if(isset($update_when_modified) AND $update_when_modified == true) {
166
	$database->query("UPDATE ".TABLE_PREFIX."pages SET modified_when = '".mktime()."', modified_by = '".$admin->get_user_id()."' WHERE page_id = '$page_id'");
166
	$database->query("UPDATE ".TABLE_PREFIX."pages SET modified_when = '".time()."', modified_by = '".$admin->get_user_id()."' WHERE page_id = '$page_id'");
167 167
}
168 168

  
169 169
?>

Also available in: Unified diff