Skip to content

Commit

Permalink
Update product_review.phtml
Browse files Browse the repository at this point in the history
  • Loading branch information
shintusingh authored Jun 10, 2020
1 parent 9d7edda commit c1932e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions view/frontend/templates/product_review.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
$model = $block->getAfraModel();
$app_data=$model->getCollection()->getFirstItem();
$token = substr(md5(microtime()),rand(0,26),5);
$questiondata=$block->getAskQuestion($product,$app_data,$token);

?>
<?php if(!empty($app_data->getData())): ?>
<?php

$questiondata=$block->getAskQuestion($product,$app_data,$token);
if ($questiondata !='Not Authorized') {
$questions = json_decode($questiondata);

Expand Down

0 comments on commit c1932e9

Please sign in to comment.