Skip to content

Commit fd6eb82

Browse files
committed
Fix campaigns
1 parent 7304856 commit fd6eb82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/templates/product/campaigns.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
global $post;
33

4-
$articles = array( Aplazame_Api_Serializer::article( new WC_Product( $post ) ) );
4+
$articles = array( Aplazame_Aplazame_Api_BusinessModel_Article::createFromProduct( new WC_Product( $post ) ) );
55
?>
66

77
<div id="aplazame_campaigns_tab" class="panel woocommerce_options_panel">

0 commit comments

Comments
 (0)