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

Commit 9eef8df

Browse files
committed
Fix incorrect conditions
1 parent ec87244 commit 9eef8df

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
@@ -823,9 +823,9 @@ public function add_transcoded_files( $file_post_array, $attachment_id, $job_for
823823

824824
do_action( 'rtt_before_transcoded_media_store', $attachment_id, $file_post_array );
825825

826-
if ( isset( $file_post_array ) && is_array( $file_post_array ) && ( count( $file_post_array > 0 ) ) ) {
826+
if ( isset( $file_post_array ) && is_array( $file_post_array ) && ( count( $file_post_array ) > 0 ) ) {
827827
foreach ( $file_post_array as $key => $format ) {
828-
if ( is_array( $format ) && ( count( $format > 0 ) ) ) {
828+
if ( is_array( $format ) && ( count( $format ) > 0 ) ) {
829829
foreach ( $format as $each => $file ) {
830830
$flag = false;
831831
if ( isset( $file ) ) {

0 commit comments

Comments
 (0)