diff --git a/include/pgsql.class.php b/include/pgsql.class.php index 81c444dfd..52ac9b4f8 100644 --- a/include/pgsql.class.php +++ b/include/pgsql.class.php @@ -406,7 +406,8 @@ class basis_db extends db foreach ($matches as $mk => $match) { - $values[$languages[$mk+1]] = $match[3] != '' ? stripcslashes($match[3]) : (strtolower($match[2]) == 'null' ? null : $match[2]); + if(isset($languages[$mk+1])) + $values[$languages[$mk+1]] = $match[3] != '' ? stripcslashes($match[3]) : (strtolower($match[2]) == 'null' ? null : $match[2]); } return $values; }