Code Duplication    Length = 5-5 lines in 3 locations

src/voku/db/DB.php 2 locations

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