public
Created

  • Download Gist
test_.php
PHP
1 2 3 4 5 6 7 8 9 10
<?php
//..
//.........
$userid = 1; //Obtenemos el id del susuario que lo posteo
if(A2::instance()->allowed('discussion','edit') AND $userid == A2::instance()->get_user()->id)
{
echo "si puedes modificar esto";
}
 
?>

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.