Changeset 6592


Ignore:
Timestamp:
06/23/10 20:35:21 (10 years ago)
Author:
nikrou
Message:

Fix bug 1743 : comment form is not visible because of boolean management
merge from trunk

Location:
branches/2.1
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.1/include/dblayer/functions_pgsql.inc.php

    r6581 r6592  
    513513    return $var ? 'true' : 'false'; 
    514514  } 
     515  elseif ($var=='t' || $var=='f') 
     516  { 
     517    return ($var=='t') ? 'true' : 'false'; 
     518  } 
    515519  else 
    516520  { 
  • branches/2.1/picture.php

    r6460 r6592  
    411411while ($row = pwg_db_fetch_assoc($result)) 
    412412{ 
     413  $row['commentable'] = boolean_to_string($row['commentable']); 
    413414  array_push($related_categories, $row); 
    414415} 
Note: See TracChangeset for help on using the changeset viewer.