r1370 + make use of parseWikiLink() to prepare sticker data
authorDenis Ovsienko <infrastation@yandex.ru>
Fri, 7 Dec 2007 00:01:15 +0000 (00:01 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Fri, 7 Dec 2007 00:01:15 +0000 (00:01 +0000)
inc/database.php

index 788c4056334e02ab1fb384311dbeeccd63c95a80..e6fdeebb396285a25d9c34d4ece4fb196ed61147 100644 (file)
@@ -1723,6 +1723,8 @@ function getAttrValues ($object_id)
                        case 'string':
                        case 'dict':
                                $record['value'] = $row[$row['attr_type'] . '_value'];
+                               $record['o_value'] = parseWikiLink ($record['value'], 'o');
+                               $record['a_value'] = parseWikiLink ($record['value'], 'a');
                                $record['chapter_name'] = $row['chapter_name'];
                                $record['key'] = $row['uint_value'];
                                break;