You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The update_annotation function does not let you update the annotation name despite taking it as an argument. There appears to be no way to do this without writing custom SQL.
To fix this, change lines 160-162 in annotations.php from
$result = update_data("UPDATE {$CONFIG->dbprefix}annotations
set value_id='$value', value_type='$value_type', access_id=$access_id, owner_guid=$owner_guid
where id=$annotation_id and name_id='$name' and $access");
to
$result = update_data("UPDATE {$CONFIG->dbprefix}annotations
set value_id='$value', name_id='$name', value_type='$value_type', access_id=$access_id, owner_guid=$owner_guid
where id=$annotation_id and $access");
The text was updated successfully, but these errors were encountered:
Original ticket http://trac.elgg.org/ticket/3238 on 41231095-11-13 by trac user kevinjardine, assigned to cash.
Elgg version: 1.7
The update_annotation function does not let you update the annotation name despite taking it as an argument. There appears to be no way to do this without writing custom SQL.
To fix this, change lines 160-162 in annotations.php from
to
The text was updated successfully, but these errors were encountered: