Skip to content

A free, self-hostable news aggregator…

Note about PHP 5.2

Alexandre Alapetitedfd0b9e9355c
diff --git a/lib/lib_rss.php b/lib/lib_rss.php
index 457fada3d..b0189c162 100644
--- a/lib/lib_rss.php
+++ b/lib/lib_rss.php
@@ -15,7 +15,7 @@ if (!function_exists('json_encode')) {
}
}
-if (!function_exists('array_replace_recursive')) {
+if (!function_exists('array_replace_recursive')) { //PHP 5.2
function arr_recurse($array, $array1) {
foreach ($array1 as $key => $value) {
if (!isset($array[$key]) || (isset($array[$key]) && !is_array($array[$key]))) {