Fixing pinned is not int
This commit is contained in:
parent
78d88db6d9
commit
8563a1bf6f
@ -81,7 +81,7 @@ sub _GeneratePostFromFile ( $self, $post_file ) {
|
||||
|
||||
my $pinned;
|
||||
if ( defined $pinned_node ) {
|
||||
$pinned = int($pinned_node);
|
||||
$pinned = int($pinned_node->text);
|
||||
}
|
||||
if ( defined $image_element ) {
|
||||
$image = $image_element->attr->{src};
|
||||
|
Loading…
Reference in New Issue
Block a user