Changeset 2623071
- Timestamp:
- 11/01/2021 11:49:16 PM (4 years ago)
- Location:
- mondoplayer/trunk
- Files:
-
- 2 edited
-
includes/class_mondoplayer_autopilot.php (modified) (3 diffs)
-
mondoplayer.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
mondoplayer/trunk/includes/class_mondoplayer_autopilot.php
r2618790 r2623071 288 288 $message = ""; 289 289 $this->sync_autopilots(); 290 $views = null;290 $views = array(); 291 291 292 292 if ( $wpdb->get_var( "SHOW TABLES LIKE 'wp_mondoplayer_ad_stats'" ) === 'wp_mondoplayer_ad_stats' ) { … … 998 998 $autopilot_views = array(); 999 999 $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; 1000 if (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 } 1005 1007 } 1006 1008 } … … 1115 1117 return strcasecmp($a,$b); 1116 1118 }); 1117 echo "<td class='$class' data-colname='$field'><div class='mondoplayer_autopilot_table_search_terms' onclick='toggle_height(this)'>" . implode( $search_term_labels, " ") . "</div></td>";1119 echo "<td class='$class' data-colname='$field'><div class='mondoplayer_autopilot_table_search_terms' onclick='toggle_height(this)'>" . implode(" ", $search_term_labels) . "</div></td>"; 1118 1120 } else { 1119 1121 echo "<td class='$class' data-colname='$field'>" . $autopilot->$field . "</td>"; -
mondoplayer/trunk/mondoplayer.php
r2623039 r2623071 5 5 Description: Video Content Curation Plugin - automatically curate and share videos. Boost engagement on your website and in social media with compelling video. 6 6 Author: MondoTag 7 Version: 1.0.3 597 Version: 1.0.361 8 8 Tested up to: 5.7.3 9 9 License: GPLv2 or later
Note: See TracChangeset
for help on using the changeset viewer.