Bug #21308 ยป 12277_01.diff

Administrator Admin, 2010-01-10 14:54

View differences:

t3lib/class.t3lib_timetracknull.php (working copy)
129 129
	 * @param	float		$microtime: The microtime value - if not set the current time is used
130 130
	 * @return	integer		The microtime value as milliseconds value
131 131
	 */
132
	public function getMilliseconds($microtime = NULL) {}
132
	public function getMilliseconds($microtime = NULL) {
133
		if (!isset($microtime)) {
134
			$microtime = microtime(true);
135
		}
136
		return round($microtime * 1000);
137
	}
133 138

  
134 139
}
135 140

  
136 141
// XCLASSing is not possible for this class
137 142

  
138
?>
143
?>
    (1-1/1)