Skip to content

Commit

Permalink
Fixing strlen() error (#7394)
Browse files Browse the repository at this point in the history
  • Loading branch information
sc0ttkclark authored Feb 7, 2025
2 parents edf7b55 + c17053d commit 2ca7d26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/PodsUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -3000,7 +3000,7 @@ public function manage( $reorder = false ) {

echo PodsForm::submit_button( $this->header['search'], 'button', false, false, array( 'id' => $this->num_prefix . 'search' . $this->num . '-submit' ) );

if ( 0 < strlen( $this->search ) ) {
if ( 0 < strlen( (string) $this->search ) ) {
$clear_filters = array(
$this->num_prefix . 'search' . $this->num => false,
);
Expand Down

0 comments on commit 2ca7d26

Please sign in to comment.