From b0d84443496d895ec08dd968cc2c9b0799a6592c Mon Sep 17 00:00:00 2001 From: stronk7 Date: Tue, 26 Sep 2006 22:46:05 +0000 Subject: [PATCH] Fix one place where index->type was being used instead of index->unique --- lib/xmldb/classes/XMLDBIndex.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/xmldb/classes/XMLDBIndex.class.php b/lib/xmldb/classes/XMLDBIndex.class.php index c23e5f25b1..e8315176fe 100644 --- a/lib/xmldb/classes/XMLDBIndex.class.php +++ b/lib/xmldb/classes/XMLDBIndex.class.php @@ -47,7 +47,7 @@ class XMLDBIndex extends XMLDBObject { * @param array fields an array of fieldnames to build the index over */ function setAttributes($type, $fields) { - $this->type = !empty($type) ? true : false; + $this->unique = !empty($type) ? true : false; $this->fields = $fields; } -- 2.39.5