import v1.1.0_beta1 | 2009-08-21
This commit is contained in:
@ -16,7 +16,7 @@
|
||||
* @package Zend_TimeSync
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: Ntp.php 9488 2008-05-19 20:41:34Z thomas $
|
||||
* @version $Id: Ntp.php 13522 2009-01-06 16:35:55Z thomas $
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -50,7 +50,7 @@ class Zend_TimeSync_Ntp extends Zend_TimeSync_Protocol
|
||||
public function __construct($timeserver, $port = 123)
|
||||
{
|
||||
$this->_timeserver = 'udp://' . $timeserver;
|
||||
if (is_null($port) === false) {
|
||||
if ($port !== null) {
|
||||
$this->_port = $port;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user