Browse Source

*fix: views.py: (hope it) will fix issues with sql's case-insensitives LIKE

tkroenert 9 years ago
parent
commit
16cd3639c1
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      k4ever/main/views.py

+ 1
- 1
k4ever/main/views.py View File

@@ -153,7 +153,7 @@ def pluginAuthblob(request, pluginId):
153 153
 		return render_to_response("settings/settings.html", d, RequestContext(request))
154 154
 	
155 155
 	# check, if this is equal to the old users plugin
156
-	pluginsWithAuthblob = PluginPermission.objects.filter(plugin=plugin, user=request.user, authblob=authblob)
156
+	pluginsWithAuthblob = PluginPermission.objects.filter(plugin=plugin, user=request.user, authblob__exact=authblob)
157 157
 	if pluginsWithAuthblob.count() > 0:
158 158
 		d = getPluginDict(request)
159 159
 		d['pluginerror'] = "Das ist der gleiche Authblob, den du vorher auch hattest."

Loading…
Cancel
Save