Skip to content

Commit

Permalink
php4 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
voitto committed May 1, 2009
1 parent 99e60f7 commit 0631420
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/omb/controllers/posts.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ function get( &$vars ) {

function post( &$vars ) {
extract( $vars );
global $request;
trigger_before( 'insert_from_post', $Post, $request );
$table = 'posts';
$content_type = 'text/html';
Expand Down
2 changes: 1 addition & 1 deletion app/omb/plugins/wp.php
Original file line number Diff line number Diff line change
Expand Up @@ -1218,7 +1218,7 @@ function the_post() {
}

global $the_post,$response,$the_author,$the_entry,$request;
$the_post =& $response->collection->MoveNext();
$the_post = $response->collection->MoveNext();
if (isset($the_post->profile_id) && $the_post->table == 'posts'){
$the_author = get_profile($the_post->profile_id);
}else{
Expand Down

0 comments on commit 0631420

Please sign in to comment.