Index: trunk/extensions/OpenStackManager/OpenStackNovaUser.php |
— | — | @@ -196,8 +196,10 @@ |
197 | 197 | } |
198 | 198 | |
199 | 199 | static function uuid4() { |
| 200 | + $uuid = ''; |
200 | 201 | uuid_create( &$uuid ); |
201 | 202 | uuid_make( $uuid, UUID_MAKE_V4 ); |
| 203 | + $uuidExport = ''; |
202 | 204 | uuid_export( $uuid, UUID_FMT_STR, &$uuidExport ); |
203 | 205 | return trim( $uuidExport ); |
204 | 206 | } |