Skip to content
Permalink
Browse files

that change did make wonky uuids

  • Loading branch information...
dogmatic69 committed Sep 12, 2012
1 parent f886d87 commit b84224804e556f24c5cd80f40024c6384c86ff0d
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/Cake/Utility/String.php
@@ -72,6 +72,10 @@ public static function uuid() {
} elseif ($node !== '127.0.0.1') {
$node = ip2long($node);
} else {
$node = null;
}
if(empty($node)) {
$node = crc32(Configure::read('Security.salt'));
}

0 comments on commit b842248

Please sign in to comment.
You can’t perform that action at this time.