summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-11-07 07:38:58 +0100
committerRemi Collet <fedora@famillecollet.com>2012-11-07 07:38:58 +0100
commit4aad3afb361ca23d7411d85972f56d91047e932e (patch)
tree1a0752016edcf72acd795c8ee8be36e94bc7bcdc
parent32a5db738290019eb38f79347388e54a3e8f78df (diff)
php-horde-Horde-Exception: 2.0.1
-rw-r--r--php-horde-Horde-Support-uuid.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/php-horde-Horde-Support-uuid.patch b/php-horde-Horde-Support-uuid.patch
index 0cfc163..09974d7 100644
--- a/php-horde-Horde-Support-uuid.patch
+++ b/php-horde-Horde-Support-uuid.patch
@@ -11,7 +11,7 @@ diff -up Horde_Support-2.0.0/lib/Horde/Support/Uuid.php.old Horde_Support-2.0.0/
- } else {
+ if (function_exists("uuid_export")) {
+ // UUID extension from http://www.ossp.org/pkg/lib/uuid/
-+ if (!uuid_create($ctx) && !uuid_make($ctx, UUID_MAKE_V4) && !uuid_export($ctx, UUID_FMT_STR, $str)) {
++ if (uuid_create($ctx)==UUID_RC_OK && uuid_make($ctx, UUID_MAKE_V4)==UUID_RC_OK && uuid_export($ctx, UUID_FMT_STR, $str)==UUID_RC_OK) {
+ $this->_uuid = $str;
+ uuid_destroy($ctx);
+ }