<div dir="ltr"><div><div><div><div><div>Hello,<br><br></div>In my script I've had to test for the user=phone parameter in URIs. I thought uri_param() from siputils would be handy for this operation on the RURI, so I did:<br><br>    if ( !uri_param("user","phone") ) {<br>        add_uri_param("user=phone");<br>    }<br><br></div>Unfortunately this wouldn't work (uri_param returns -1), and I end up with double user=phone params in the RURI.<br><br></div>I was able to work around this by changing the test to:<br><br>    if ( !($(ru{uri.uparam}) == "phone") ) {<br>        add_uri_param("user=phone");<br>    }<br><br></div>But I wanted to ask if this is intentional or if I should file a bug or something. Thanks.<br></div>George<br></div>