Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mhugent committed Dec 27, 2006
1 parent ecf66b5 commit b864f5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/postgres/qgspostgresprovider.cpp
Expand Up @@ -198,7 +198,7 @@ QgsPostgresProvider::QgsPostgresProvider(QString const & uri)
n++;
}
// The -1 is to remove the trailing ' character
mUri.password = password.left(n-1);
mUri.password = password.left(n);
}
else
/* end uri structure */
Expand Down

0 comments on commit b864f5b

Please sign in to comment.