Skip to content
Permalink
Browse files

Update objects.class.php

Object clone function fix
  • Loading branch information...
sergejey committed Apr 7, 2019
1 parent 88c2ca3 commit 0c62d16efa1014f0935e60da4c1becbc0815ea07
Showing with 1 addition and 0 deletions.
  1. +1 −0 modules/objects/objects.class.php
@@ -153,6 +153,7 @@ function clone_object($id) {
$rec=SQLSelectOne("SELECT * FROM objects WHERE ID='".$id."'");
$rec['TITLE']=$rec['TITLE'].' (copy)';
unset($rec['ID']);
$rec['SYSTEM']='';
$rec['ID']=SQLInsert('objects', $rec);
$seen_pvalues=array();

0 comments on commit 0c62d16

Please sign in to comment.
You can’t perform that action at this time.