Unverified Commit e6a220a7 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3525174 by benjifisher, smustgrave, greggles, catch, larowlan, mcdruid:...

Issue #3525174 by benjifisher, smustgrave, greggles, catch, larowlan, mcdruid: Clean up unserialize() in the config system

(cherry picked from commit 4cfe1582)
parent d3457677
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -272,7 +272,7 @@ public function encode($data) {
   *   be unserialized.
   */
  public function decode($raw) {
    $data = @unserialize($raw);
    $data = @unserialize($raw, ['allowed_classes' => FALSE]);
    return is_array($data) ? $data : FALSE;
  }