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 some problems with XML-RPC and the Tagginator module.
* Fixed potential infinite error looping.
vito (author)
Fri Nov 07 14:10:12 -0800 2008
commit  da4f0ec1cad48c4ead828ebbaf1cd4e4b4bda37c
tree    7f54e254f0193cbdd561ede8d8d5e54141ab039b
parent  f3a55fb7ef39aa2ba886eceeed6faf5c95ef6072
...
135
136
137
138
 
139
140
141
...
135
136
137
 
138
139
140
141
0
@@ -135,7 +135,7 @@
0
                 </ol>
0
 <?php endif; ?>
0
                 <div class="clear"></div>
0
-<?php if (!logged_in()): ?>
0
+<?php if (!logged_in() and $body != __("Route was initiated without a Controller.")): ?>
0
                 <a href="<?php echo url("login"); ?>" class="big login"><?php echo __("Log In"); ?> &rarr;</a>
0
 <?php endif; ?>
0
                 <div class="clear last"></div>
...
9
10
11
 
 
 
12
13
14
...
9
10
11
12
13
14
15
16
17
0
@@ -9,6 +9,9 @@
0
     require_once INCLUDES_DIR.'/lib/ixr.php';
0
     if (!defined('XML_RPC_FEATHER')) define('XML_RPC_FEATHER', 'text');
0
 
0
+    # Use the Main controller for any Route calls.
0
+    Route::current(MainController::current());
0
+
0
     #
0
     # Class: XMLRPC
0
     # Provides functionality for using external clients, services, etc. for accessing and adding to Chyrp.
...
97
98
99
100
 
101
102
103
...
504
505
506
507
 
508
509
510
...
97
98
99
 
100
101
102
103
...
504
505
506
 
507
508
509
510
0
@@ -97,7 +97,7 @@
0
         }
0
 
0
         public function update_post($post) {
0
-            if (!isset($_POST['tags'])) return;
0
+            if (empty($_POST['tags'])) return;
0
 
0
             $tags = explode(",", $_POST['tags']); # Split at the comma
0
             $tags = array_map('trim', $tags); # Remove whitespace
0
@@ -504,7 +504,7 @@
0
             if (isset($struct['mt_tags']))
0
                 $_POST['tags'] = $struct['mt_tags'];
0
             else if (isset($post->tags))
0
-                $_POST['tags'] = $post->tags["unlinked"];
0
+                $_POST['tags'] = $post->unlinked_tags;
0
             else
0
                 $_POST['tags'] = '';
0
         }

Comments