r2732 - renderEditAttrMapForm(): restore chapter list SELECT (lost in recent changesets)
authorDenis Ovsienko <infrastation@yandex.ru>
Tue, 12 May 2009 17:11:02 +0000 (17:11 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Tue, 12 May 2009 17:11:02 +0000 (17:11 +0000)
inc/interface.php

index 48b5fe6cdad60ee876468bf786b238fca11d57f1..ff139cf61bc66a80324b53746e77b4ee7bd46e82 100644 (file)
@@ -3579,7 +3579,7 @@ function renderEditAttrMapForm ()
                echo '</td>';
                echo '<td><select name=chapter_no tabindex=102>';
                foreach (getChapterList() as $chapter)
-                       if (!$chapter['sticky'])
+                       if ($chapter['sticky'] != 'yes')
                                echo "<option value='${chapter['id']}'>${chapter['name']}</option>";
                echo '</select></td><td>';
                printImageHREF ('add', '', TRUE, 103);