1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-09-04 20:18:27 +02:00

Fixing order clause

MSP-12011

* This was resulting in PGSyntaxError
This commit is contained in:
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

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)