public
Description: The ultra-lightweight ultra-flexible blogging engine with a fetish for birds and misspellings.
Homepage: http://chyrp.net/
Clone URL: git://github.com/vito/chyrp.git
Click here to lend your support to: chyrp and make a donation at www.pledgie.com !
Fixed no option being selected when editing a post with selects.
vito (author)
Wed Jul 23 23:02:54 -0700 2008
commit  33b5f90a3f1518d6e81de8f9eb22219846a88d9e
tree    61abe9e32d52e485b921e1de0af023dabaac7f89
parent  f768167af3b54760f7482d77b445d16f8d8b9fb1
...
32
33
34
35
36
37
 
 
 
 
38
39
40
...
32
33
34
 
 
 
35
36
37
38
39
40
41
0
@@ -32,9 +32,10 @@ Keeping Chyrp up to date is important to make sure that your blog is as safe and
0
 
0
 1. Download the latest version of Chyrp from [http://chyrp.net/](http://chyrp.net/).
0
 2. Copy `/includes/config.yaml.php` and `/includes/database.yaml.php` to somewhere safe.
0
-3. Overwrite your current Chyrp installation files with the new ones.
0
-4. Put both .yaml.php files back in the /includes/ directory.
0
-5. Upgrade by navigating to [upgrade.php](), and restore any backups.
0
+3. Disable any Modules/Feathers that you downloaded for the release you're upgrading from.
0
+4. Overwrite your current Chyrp installation files with the new ones.
0
+5. Put both .yaml.php files back in the /includes/ directory.
0
+6. Upgrade by navigating to [upgrade.php](), and restore any backups.
0
 
0
 Extensions
0
 ==========
...
17
18
19
20
 
21
22
23
...
17
18
19
 
20
21
22
23
0
@@ -17,7 +17,7 @@
0
             {% elseif field.type == "select" %}
0
             <select name="$field.attr" id="$field.attr"{% if field.classes %} class="${ field.classes | join(" ") }"{% endif %}>
0
               {% for value, name in field.options | items %}
0
-              <option value="${ value | escape }"{% if not field.no_value %}${ value | option_selected(field.value | fallback(post[field.attr] | escape)) }{% endif %}>${ name | escape }</option>
0
+              <option value="${ value | escape }"{% if not field.no_value %}${ value | option_selected(post[field.attr]) }{% endif %}>${ name | escape }</option>
0
               {% endfor %}
0
             </select>
0
             {% endif %}

Comments