Skip to content

Commit

Permalink
Fixed issue #3518: Can't import conditions based on token:attributtes
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@7383 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
c-schmitz committed Aug 1, 2009
1 parent 5901e05 commit 6a82ecb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions admin/importsurvey.php
Expand Up @@ -1226,6 +1226,9 @@
if ($oldqid==$subs[2]) {$newqid=$subs[5];}
if ($oldcqid==$subs[2]) {$newcqid=$subs[5];}
}
// Exception for conditions based on attributes
if ($oldcqid==0) {$newcqid=0;}

if (ereg('^@([0-9]+)X([0-9]+)X([^@]+)@',$thisvalue,$targetcfieldname))
{
foreach ($substitutions as $subs) {
Expand Down

0 comments on commit 6a82ecb

Please sign in to comment.