Code Duplication    Length = 5-5 lines in 3 locations

src/voku/db/DB.php 2 locations

@@ 1287-1291 (lines=5) @@
1284
      return false;
1285
    }
1286
1287
    if (!$sql || $sql === '') {
1288
      $this->_debug->displayError('Can not execute an empty query.', false);
1289
1290
      return false;
1291
    }
1292
1293
    $query_start_time = microtime(true);
1294
    $resultTmp = \mysqli_multi_query($this->link, $sql);
@@ 1442-1446 (lines=5) @@
1439
      return false;
1440
    }
1441
1442
    if (!$sql || $sql === '') {
1443
      $this->_debug->displayError('Can not execute an empty query.', false);
1444
1445
      return false;
1446
    }
1447
1448
    if (
1449
        $params !== false

src/voku/db/Prepare.php 1 location

@@ 326-330 (lines=5) @@
323
      return false;
324
    }
325
326
    if (!$query || $query === '') {
327
      $this->_debug->displayError('Can not prepare an empty query.', false);
328
329
      return false;
330
    }
331
332
    $bool = parent::prepare($query);
333