thanks. Didn't find API for this.


2014-03-09 11:55 GMT+02:00 RoySegall <notifications@github.com>:

> In
> drupalhub/modules/drupalhub/drupalhub_reputation/drupalhub_reputation.module:
>
> >   */
> > -function drupalhub_reputation_vud_votes(&$votes) {
> > +function drupalhub_reputation_votingapi_insert($votes) {
> > +  foreach ($votes as $vote) {
> > +    $wrapper = entity_metadata_wrapper($vote['entity_type'], $vote['entity_id']);
> > +    if(!$wrapper)
> > +      continue;
> > +    if($vote['entity_type'] == 'comment')
> > +     $type = entity_metadata_wrapper('node',$wrapper->raw()->nid)->getBundle();
>
> => $type = $wrapper->node->getBundle()
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/DrupalHub/drupalhub/pull/4/files#r10413221>
> .
>



-- 
---
בברכה
יצחק קרומביין- כל אתר ואתר.
0525-802-579