Code Duplication    Length = 5-5 lines in 3 locations

src/voku/db/DB.php 2 locations

@@ 1323-1327 (lines=5) @@
1320
      return false;
1321
    }
1322
1323
    if (!$sql || $sql === '') {
1324
      $this->_debug->displayError('Can not execute an empty query.', false);
1325
1326
      return false;
1327
    }
1328
1329
    $query_start_time = microtime(true);
1330
    $resultTmp = \mysqli_multi_query($this->link, $sql);
@@ 1510-1514 (lines=5) @@
1507
      return false;
1508
    }
1509
1510
    if (!$sql || $sql === '') {
1511
      $this->_debug->displayError('Can not execute an empty query.', false);
1512
1513
      return false;
1514
    }
1515
1516
    if (
1517
        $params !== false

src/voku/db/Prepare.php 1 location

@@ 292-296 (lines=5) @@
289
      return false;
290
    }
291
292
    if (!$query || $query === '') {
293
      $this->_debug->displayError('Can not prepare an empty query.', false);
294
295
      return false;
296
    }
297
298
    $bool = parent::prepare($query);
299