From ff204324e05812a7740d4f26bf8030394a8591c5 Mon Sep 17 00:00:00 2001 From: HD Moore Date: Wed, 14 Jul 2010 17:05:47 +0000 Subject: [PATCH] Do not fall through to YAML git-svn-id: file:///home/svn/framework3/trunk@9823 4d416f70-5f16-0410-b530-b9f4589650da --- lib/msf/core/model/activerecord_patches.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/msf/core/model/activerecord_patches.rb b/lib/msf/core/model/activerecord_patches.rb index aed79e7648..7b2a2d8612 100644 --- a/lib/msf/core/model/activerecord_patches.rb +++ b/lib/msf/core/model/activerecord_patches.rb @@ -13,7 +13,7 @@ class ActiveRecord::Base string end rescue ::Exception => e - YAML.load(string) rescue string + string end end end