Unverified Commit 45ca12ea 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 efd43372
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -273,7 +273,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;
  }