mirror of
https://github.com/e107inc/e107.git
synced 2025-08-26 15:54:43 +02:00
More batch-shortcode cleanup.
This commit is contained in:
@@ -647,7 +647,14 @@ class e_form
|
||||
return e107::getRate()->render($table, $id, $options);
|
||||
}
|
||||
|
||||
|
||||
function like($table,$id,$options=null)
|
||||
{
|
||||
$table = preg_replace('/\W/', '', $table);
|
||||
$id = intval($id);
|
||||
|
||||
return e107::getRate()->renderLike($table,$id,$options);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user