<div dir="ltr">Hello everybody.<br><br>I have a routing block with the following commands:<br><span class="HcCDpe"><br> avp_db_query("select uuid from usr_preferences where value = '$rU'", "$avp(s:test)");<br>
<br> if($(avp(s:test){s.len}) != 0)<br> {<br> xlog("L_INFO", "found\n");<br> setflag(4);<br> }<br> else<br> {<br> xlog("L_INFO", "not found\n");<br>
};<br><br> avp_delete("$avp(s:test)/g");<br></span><br>When query returns 0 rows, this error appears in log:<br><br>Sep 12 17:24:11 [663] CRITICAL:core:comp_scriptvar: cannot get left var value.<br>
<br>Is there a way to avoid it?<br><br>Thanks in advance for your help and attention.<br><br>Kind Regards.<br><br>Sergio Gutiérrez.<br></div>