Skip to content

Commit b864f5b

Browse files
author
mhugent
committed
Fix for bug which prevented opening query builder from within vector layer properties dialog. The reason was that the last letter of the password has been cut
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6321 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent ecf66b5 commit b864f5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/providers/postgres/qgspostgresprovider.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ QgsPostgresProvider::QgsPostgresProvider(QString const & uri)
198198
n++;
199199
}
200200
// The -1 is to remove the trailing ' character
201-
mUri.password = password.left(n-1);
201+
mUri.password = password.left(n);
202202
}
203203
else
204204
/* end uri structure */

0 commit comments

Comments
 (0)