Unverified Commit 0edd3196 authored by Stefan Auditor's avatar Stefan Auditor
Browse files

Issue #3282696 by FMB, sanduhrs: Port of l10n_community: Fix empty dataset

parent 6e738e9b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@ class L10nStatistics {
   * Get count of all strings.
   */
  public function getStringCount(): int {
    return $this->connection
    return (int) $this->connection
      ->query("SELECT COUNT(sid) FROM {l10n_server_string}")
      ->fetchField();
  }