mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-24 02:24:39 +00:00
Explicit typecast since values may not be text.
This commit is contained in:
parent
cc244e0c5d
commit
c62dd43a30
@ -199,7 +199,7 @@ foreach( $setprops AS $k => $setting ) {
|
||||
* If we don't have any special processing for the property, we just store it verbatim (which will be an XML fragment).
|
||||
*/
|
||||
default:
|
||||
$qry->QDo('SELECT set_dav_property( :dav_name, :user_no, :tag, :value)',
|
||||
$qry->QDo('SELECT set_dav_property( :dav_name, :user_no, :tag::text, :value::text)',
|
||||
array( ':dav_name' => $dav_resource->dav_name(), ':user_no' => $request->user_no, ':tag' => $tag, ':value' => $content) );
|
||||
$success[$tag] = 1;
|
||||
break;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user