mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
B #2402: Fixed bug with restricted attributes when extra template is empty
This commit is contained in:
parent
536c22b12f
commit
6e1c272b03
@ -734,7 +734,7 @@ bool Template::check_restricted(string& ra, const Template* base,
|
||||
restricted_values(rit->first, rit->second, this, rvalues);
|
||||
restricted_values(rit->first, rit->second, base, rvalues_base);
|
||||
|
||||
if ( rvalues != rvalues_base )
|
||||
if ( rvalues != rvalues_base && !rvalues.empty())
|
||||
{
|
||||
ra = rit->first;
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user