From 4665e0b972d1a4193072ced9df6a2c0d00ca39a8 Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Sun, 1 Sep 2019 23:30:13 +0200 Subject: [PATCH] DT --- findindb.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/findindb.php b/findindb.php index 61215a7..d732a1b 100755 --- a/findindb.php +++ b/findindb.php @@ -27,7 +27,7 @@ while( $table = $db1->result->fetch_assoc()) { print_r($s[0]) . "\n"; $db2->query("SELECT * FROM " . $table['Tables_in_nextcloud'] . " WHERE " . $s[0] . "='" . $string . "'"); - if ( $db2->result->count ) + if ( $db2->result->num_rows != 0 ) { $tableau = $db2->result->fetch_all(); echo "column " . $s[0] . "\n";