Skip to content

Commit

Permalink
The Empty images be save correctly now.
Browse files Browse the repository at this point in the history
  • Loading branch information
gnuget committed Apr 28, 2010
1 parent d237901 commit e379fdf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion RCCWP_Post.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,11 @@ function SetMetaValues($postId){
//Setting the name of the file name as the custom field value
if(!empty($value['file_name'])){
$value = $value['file_name'];
}else{
$value = '';
}
}


// Adding field value meta data
add_post_meta($postId, $name, $value);

Expand Down

0 comments on commit e379fdf

Please sign in to comment.