Commit d0853962 authored by Penny Leach's avatar Penny Leach
Browse files

fixed the bug in profileinfo block that I introduced

parent 5c9a2329
......@@ -121,7 +121,7 @@ class PluginBlocktypeProfileinfo extends PluginBlocktype {
// Profile icon
if (!$result = get_records_sql_array('SELECT a.id, a.artefacttype, a.title, a.note
FROM {artefact} a
WHERE artefacttype = \'profileicon\' OR artefacttype = \'email\'
WHERE (artefacttype = \'profileicon\' OR artefacttype = \'email\')
AND a.owner = (
SELECT owner
FROM {view}
......
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