Plugin Directory

Changeset 2623071


Ignore:
Timestamp:
11/01/2021 11:49:16 PM (4 years ago)
Author:
crisworth
Message:

Feature update

Location:
mondoplayer/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • mondoplayer/trunk/includes/class_mondoplayer_autopilot.php

    r2618790 r2623071  
    288288        $message = "";
    289289        $this->sync_autopilots();
    290         $views = null;
     290        $views = array();
    291291
    292292        if ( $wpdb->get_var( "SHOW TABLES LIKE 'wp_mondoplayer_ad_stats'" ) === 'wp_mondoplayer_ad_stats' ) {
     
    998998$autopilot_views = array();
    999999$unmatched_views = array();
    1000 foreach ($views as $view) {
    1001     if (isset($autopilot_views[$view->autopilot_id])) {
    1002         $autopilot_views[$view->autopilot_id] += $view->total;
    1003     } else {
    1004         $autopilot_views[$view->autopilot_id] = $view->total;
     1000if (is_array($views)) {
     1001    foreach ($views as $view) {
     1002        if (isset($autopilot_views[$view->autopilot_id])) {
     1003            $autopilot_views[$view->autopilot_id] += $view->total;
     1004        } else {
     1005            $autopilot_views[$view->autopilot_id] = $view->total;
     1006        }
    10051007    }
    10061008}
     
    11151117                return strcasecmp($a,$b);
    11161118            });
    1117             echo "<td class='$class' data-colname='$field'><div class='mondoplayer_autopilot_table_search_terms' onclick='toggle_height(this)'>" . implode($search_term_labels, " &nbsp;&nbsp;") . "</div></td>";
     1119            echo "<td class='$class' data-colname='$field'><div class='mondoplayer_autopilot_table_search_terms' onclick='toggle_height(this)'>" . implode(" &nbsp;&nbsp;", $search_term_labels) . "</div></td>";
    11181120        } else {
    11191121            echo "<td class='$class' data-colname='$field'>" . $autopilot->$field . "</td>";
  • mondoplayer/trunk/mondoplayer.php

    r2623039 r2623071  
    55    Description: Video Content Curation Plugin - automatically curate and share videos. Boost engagement on your website and in social media with compelling video.
    66    Author: MondoTag
    7     Version: 1.0.359
     7    Version: 1.0.361
    88    Tested up to: 5.7.3
    99    License: GPLv2 or later
Note: See TracChangeset for help on using the changeset viewer.