1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-11 04:58:16 +03:00

feature #200: Fixed public attribute wrong type (from string to int)

This commit is contained in:
Constantino Vázquez Blanco 2010-06-11 16:04:51 +02:00
parent d411f58348
commit 5623814f03

View File

@ -133,7 +133,7 @@ public:
if ( name == "PUBLIC" && ( value == "YES" || value == "NO" ))
{
image->public_img == value;
image->public_img = value=="YES"?1:0;
}
else
{