Skip to content
This repository was archived by the owner on Aug 22, 2025. It is now read-only.

Commit 6a0ef64

Browse files
authored
Merge pull request #95 from dharmin/fix-warnings
Fix php warnings
2 parents 72583c9 + 9eef8df commit 6a0ef64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

admin/rt-transcoder-handler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -818,9 +818,9 @@ public function add_transcoded_files( $file_post_array, $attachment_id, $job_for
818818

819819
do_action( 'rtt_before_transcoded_media_store', $attachment_id, $file_post_array );
820820

821-
if ( isset( $file_post_array ) && is_array( $file_post_array ) && ( count( $file_post_array > 0 ) ) ) {
821+
if ( isset( $file_post_array ) && is_array( $file_post_array ) && ( count( $file_post_array ) > 0 ) ) {
822822
foreach ( $file_post_array as $key => $format ) {
823-
if ( is_array( $format ) && ( count( $format > 0 ) ) ) {
823+
if ( is_array( $format ) && ( count( $format ) > 0 ) ) {
824824
foreach ( $format as $each => $file ) {
825825
$flag = false;
826826
if ( isset( $file ) ) {

0 commit comments

Comments
 (0)