diff -pruN 2.3.6-3/debian/changelog 2.3.6-3ubuntu1/debian/changelog
--- 2.3.6-3/debian/changelog	2016-06-07 21:20:14.000000000 +0000
+++ 2.3.6-3ubuntu1/debian/changelog	2018-02-20 17:47:54.000000000 +0000
@@ -1,3 +1,10 @@
+php-horde-history (2.3.6-3ubuntu1) bionic; urgency=medium
+
+  * debian/patches/php72_compat.patch: PHP7.2 has deprecated count() of
+    non-Countables.
+
+ -- Nishanth Aravamudan <nish.aravamudan@canonical.com>  Tue, 20 Feb 2018 09:47:54 -0800
+
 php-horde-history (2.3.6-3) unstable; urgency=medium
 
   * Update Standards-Version to 3.9.8, no change
diff -pruN 2.3.6-3/debian/control 2.3.6-3ubuntu1/debian/control
--- 2.3.6-3/debian/control	2016-06-07 21:20:14.000000000 +0000
+++ 2.3.6-3ubuntu1/debian/control	2018-02-20 17:47:54.000000000 +0000
@@ -1,7 +1,8 @@
 Source: php-horde-history
 Section: php
 Priority: extra
-Maintainer: Horde Maintainers <pkg-horde-hackers@lists.alioth.debian.org>
+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
+XSBC-Original-Maintainer: Horde Maintainers <pkg-horde-hackers@lists.alioth.debian.org>
 Uploaders: Mathieu Parent <sathieu@debian.org>
 Build-Depends: debhelper (>= 9), pkg-php-tools, pear-horde-channel
 Standards-Version: 3.9.8
diff -pruN 2.3.6-3/debian/patches/php72_compat.patch 2.3.6-3ubuntu1/debian/patches/php72_compat.patch
--- 2.3.6-3/debian/patches/php72_compat.patch	1970-01-01 00:00:00.000000000 +0000
+++ 2.3.6-3ubuntu1/debian/patches/php72_compat.patch	2018-02-20 17:47:50.000000000 +0000
@@ -0,0 +1,17 @@
+Description: PHP7.2 has deprecated count() of non-Countables
+Author: Nishanth Aravamudan <nish.aravamudan@canonical.com>
+Forwarded: Will be done by Nishanth Aravamudan
+Last-Update: 2018-02-20
+
+--- php-horde-history-2.3.6.orig/Horde_History-2.3.6/lib/Horde/History/Log.php
++++ php-horde-history-2.3.6/Horde_History-2.3.6/lib/Horde/History/Log.php
+@@ -36,8 +36,7 @@ class Horde_History_Log implements Itera
+             return;
+         }
+ 
+-        reset($data);
+-        while (list(,$row) = each($data)) {
++        foreach ($data as $_ => $row) {
+             $history = array(
+                 'action' => $row['history_action'],
+                 'desc' => $row['history_desc'],
diff -pruN 2.3.6-3/debian/patches/series 2.3.6-3ubuntu1/debian/patches/series
--- 2.3.6-3/debian/patches/series	1970-01-01 00:00:00.000000000 +0000
+++ 2.3.6-3ubuntu1/debian/patches/series	2018-02-20 17:47:27.000000000 +0000
@@ -0,0 +1 @@
+php72_compat.patch
