| @@ -27,9 +27,9 @@ | ||
| 27 | 27 | return pointer; |
| 28 | 28 | } |
| 29 | 29 | var pobj, pids, id, pidx, pointers = cf7sg_pointers.pointers; |
| 30 | 30 | pids = Object.keys(pointers); |
| 31 | - if(pids.length>1){ | |
| 31 | + if(pids.length>0){ | |
| 32 | 32 | pidx=0; |
| 33 | 33 | id = pids[pidx]; |
| 34 | 34 | pobj=createPointer(id, pointers[id]); |
| 35 | 35 | if(!pobj && pidx<pids.length){ //try the next one. |