Skip to content
Snippets Groups Projects
Commit 5008d927 authored by epaule's avatar epaule
Browse files

fixed the object_id in store_on (removed the sql autoconversion of the ref into an int).

parent ff1a40db
No related branches found
No related tags found
No related merge requests found
......@@ -103,7 +103,7 @@ sub AUTOLOAD {
sub store_on_{
sub store_on_ {
my $self = shift;
my $type = shift;
my $object = shift;
......@@ -113,7 +113,7 @@ sub store_on_{
my $object_id;
if($type =~ /[GT][er][na][en]/){
$object_id = $object;
$object_id = $object->dbID;
$table = lc($type);
# $type = lc($type);
}
......
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