Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'master' of github.com:mjpearson/Pandra

  • Loading branch information...
commit c71e6783f3471803ed4d6501e2cdd76262cf0710 2 parents 9c40711 + fa32302
@mjpearson authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/uuid/UUIDPluginZNative.class.php
View
4 lib/uuid/UUIDPluginZNative.class.php
@@ -67,7 +67,7 @@ public static function generate() {
* @return string
*/
public static function v1() {
- return self::_generate(self::UUID_TIME, self::FMT_STRING, gethostname());
+ return self::_generate(self::UUID_TIME, self::FMT_STRING, function_exists('gethostname') ? gethostname() : 'cassclient');
}
/**
@@ -359,4 +359,4 @@ static private function conv_string2binary($src) {
}
-?>
+?>
Please sign in to comment.
Something went wrong with that request. Please try again.