Commit 8621b85b authored by Clare Lenihan's avatar Clare Lenihan Committed by Clare Lenihan
Browse files

adding check in can_view_view that the view owner is not deleted

parent 955595d2
......@@ -1212,6 +1212,7 @@ function can_view_view($view_id, $user_id=null) {
{view} v
LEFT OUTER JOIN {view_access} a ON
INNER JOIN {usr} u ON ( = v.owner AND u.deleted = 0)
', array($view_id));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment