summarylogtreecommitdiffstats
path: root/mythweb-php_7.2.patch
blob: a13493cddb012cdf6b93e3279fc0b2a00ca6d15c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Index: modules/tv/recorded.php
===================================================================
--- a/modules/tv/recorded.php	(revision 6976c802b700dfed902c5173ca2d1080902508c6)
+++ b/modules/tv/recorded.php	(revision 664dc1707ccf7be8b0b1d9eadf6366de8bbaa9c9)
@@ -180,12 +180,12 @@
     // GMP functions should work better with 64 bit numbers.
         $size = gmp_mul('1024', $size);
-        define(disk_size, gmp_strval($size));
+        define('disk_size', gmp_strval($size));
         $size = gmp_mul('1024', $used);
-        define(disk_used, gmp_strval($size));
+        define('disk_used', gmp_strval($size));
     }
     else {
     // This is inaccurate, but it's the best we can get without GMP.
-        define(disk_size, ($size * 1024));
-        define(disk_used, ($used * 1024));
+        define('disk_size', ($size * 1024));
+        define('disk_used', ($used * 1024));
     }