svn: /phpdoc/doc-base/branches/gtk-docgen/scripts/docgen/ docgen.php

[email protected] (Justin Martin) Sat, 26 Feb 2011 21:17:36 +0000
Newsgroups php.gtk.doc
Message-ID <[email protected]>
--cadc0cdbca65029c622b1209f396461568215f11
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

frozenfire                               Sat, 26 Feb 2011 21:17:36 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=308715

Log:
Fixed {FIELDS} bug.

Changed paths:
    U   phpdoc/doc-base/branches/gtk-docgen/scripts/docgen/docgen.php

Modified: phpdoc/doc-base/branches/gtk-docgen/scripts/docgen/docgen.php
===================================================================
--- phpdoc/doc-base/branches/gtk-docgen/scripts/docgen/docgen.php	2011-02-26 21:05:08 UTC (rev 308714)
+++ phpdoc/doc-base/branches/gtk-docgen/scripts/docgen/docgen.php	2011-02-26 21:17:36 UTC (rev 308715)
@@ -657,7 +657,7 @@
 			$markup .= str_repeat(' ', $ident + 1) ."<variablelist>\n";

 			foreach ($gtkfields as $field) {
-				if(strcasecmp($field->owner_type_name, $id) !== 0) continue;
+				if(strcasecmp($field->owner_type->name, $id) !== 0) continue;
 				$markup .= str_repeat(' ', $ident + 2) .'<varlistentry xml:id="'. format_id($field->owner_type->name) .'.fields.'. format_id($field->name) ."\">\n";
 				$markup .= str_repeat(' ', $ident + 3) .'<term><varname>'. $field->name ."</varname></term>\n";
 		     		$markup .= str_repeat(' ', $ident + 3) ."<listitem>\n";

--cadc0cdbca65029c622b1209f396461568215f11--