From b84224804e556f24c5cd80f40024c6384c86ff0d Mon Sep 17 00:00:00 2001 From: dogmatic69 Date: Wed, 12 Sep 2012 23:52:04 +0100 Subject: [PATCH] that change did make wonky uuids --- lib/Cake/Utility/String.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/Cake/Utility/String.php b/lib/Cake/Utility/String.php index ecf0100af..0e1495c9f 100644 --- a/lib/Cake/Utility/String.php +++ b/lib/Cake/Utility/String.php @@ -72,6 +72,10 @@ class String { } elseif ($node !== '127.0.0.1') { $node = ip2long($node); } else { + $node = null; + } + + if(empty($node)) { $node = crc32(Configure::read('Security.salt')); }