summaryrefslogtreecommitdiff
path: root/source4/build/pidl/util.pm
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/pidl/util.pm')
-rw-r--r--source4/build/pidl/util.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/build/pidl/util.pm b/source4/build/pidl/util.pm
index 14716186d6..a724052e2f 100644
--- a/source4/build/pidl/util.pm
+++ b/source4/build/pidl/util.pm
@@ -147,9 +147,11 @@ sub LoadStructure($)
# see if a pidl property list contains a give property
sub has_property($$)
{
- my($props) = shift;
+ my($e) = shift;
my($p) = shift;
-
+
+ my($props) = $e->{PROPERTIES};
+
foreach my $d (@{$props}) {
if (ref($d) ne "HASH") {
if ($d eq $p) {