Browse code

pv Update error in docs.

Olle E. Johansson authored on 08/12/2014 12:22:38
Showing 2 changed files
... ...
@@ -199,7 +199,7 @@ modparam("pv","avp_aliases","email=s:email_addr;tmp=i:100")
199 199
 
200 200
    Example 1.4. pv_isset usage
201 201
 ...
202
-if(pv_isset("$avp("s:x")"))
202
+if(pv_isset("$avp(s:x)"))
203 203
 {
204 204
     ...
205 205
 }
... ...
@@ -216,7 +216,7 @@ if(pv_isset("$avp("s:x")"))
216 216
 
217 217
    Example 1.5. pv_unset usage
218 218
 ...
219
-pv_unset("$avp("s:x")");
219
+pv_unset("$avp(s:x)");
220 220
 ...
221 221
 
222 222
 4.3. is_int(pvar)
... ...
@@ -166,7 +166,7 @@ modparam("pv","avp_aliases","email=s:email_addr;tmp=i:100")
166 166
 		<title><function>pv_isset</function> usage</title>
167 167
 		<programlisting format="linespecific">
168 168
 ...
169
-if(pv_isset("$avp("s:x")"))
169
+if(pv_isset("$avp(s:x)"))
170 170
 {
171 171
     ...
172 172
 }
... ...
@@ -194,7 +194,7 @@ if(pv_isset("$avp("s:x")"))
194 194
 		<title><function>pv_unset</function> usage</title>
195 195
 		<programlisting format="linespecific">
196 196
 ...
197
-pv_unset("$avp("s:x")");
197
+pv_unset("$avp(s:x)");
198 198
 ...
199 199
 </programlisting>
200 200
 		</example>