Commit a365a800 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

On copy view screen, don't show admins views which they can't access

parent 458a7a9d
...@@ -1566,11 +1566,7 @@ class View { ...@@ -1566,11 +1566,7 @@ class View {
$ph = array(); $ph = array();
} }
if ($admin) { if (!$loggedin) {
$from = '
FROM {view} v';
}
else if (!$loggedin) {
// Unreachable and not tested yet: // Unreachable and not tested yet:
$from = ' $from = '
FROM {view} v FROM {view} v
......
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