r2451 fixed a minor bug
authorDenis Yeldandi <dyeldandi@gmail.com>
Tue, 17 Feb 2009 11:09:10 +0000 (11:09 +0000)
committerDenis Yeldandi <dyeldandi@gmail.com>
Tue, 17 Feb 2009 11:09:10 +0000 (11:09 +0000)
inc/database.php

index 9baebe4cf33ac8d34a90b85c2b0c324cd9f7b63c..3098d42177bffcadfac5ce36e2616c98131d6d80 100644 (file)
@@ -2029,7 +2029,7 @@ function getAttrMap ()
                $application['objtype_name'] = $row['objtype_name'];
                if ($row['attr_type'] == 'dict')
                {
-                       $application['chapter_no'] = $row['chapter_no'];
+                       $application['chapter_no'] = $row['chapter_id'];
                        $application['chapter_name'] = $row['chapter_name'];
                }
                $ret[$attr_id]['application'][] = $application;