Fixing order clause

MSP-12011

* This was resulting in PGSyntaxError
bug/bundler_fix
Samuel Huckins 2015-02-01 01:19:31 -06:00
parent 7d1090baca
commit 9e6fd1879e
No known key found for this signature in database
GPG Key ID: 5FD48AA28C03C944
1 changed files with 1 additions and 1 deletions

View File

@ -1563,7 +1563,7 @@ class Plugin::Wmap < Msf::Plugin
wtree = Tree.new(s.vhost)
# Load site pages
s.web_pages.order(path: :asc).each do |req|
s.web_pages.order('path asc').each do |req|
tarray = req.path.to_s.split(pathchr)
tarray.delete("")
tpath = Pathname.new(pathchr)