Commit 66000ea9 authored by Penny Leach's avatar Penny Leach
Browse files

added missing prefix to get_views function

parent 7979344b
......@@ -1148,7 +1148,7 @@ function get_views($users, $userlooking=null, $limit=5) {
' . db_format_tsfield('ctime') . '
FROM
' . $prefix . 'view v
INNER JOIN view_access_usr a ON v.id=a.view AND a.usr=?
INNER JOIN ' . $prefix . 'view_access_usr a ON v.id=a.view AND a.usr=?
WHERE
v.owner IN (' . join(',',array_map('db_quote', array_keys($users))) . ')
AND ( v.startdate IS NULL OR v.startdate < ? )
......
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