Show
Ignore:
Timestamp:
07/01/2008 08:45:46 AM (6 months ago)
Author:
mikl
Message:

Minor fixes in I18N MessageSource?

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/framework/I18N/core/MessageSource_Database.php

    r2470 r2471  
    11<?php 
    22/** 
    3  * MessageSource_MySQL class file. 
     3 * MessageSource_Database class file. 
    44 * 
    55 * This program is free software; you can redistribute it and/or modify 
     
    2121 
    2222/** 
    23  * MessageSource_MySQL class. 
    24  * 
    25  * Retrive the message translation from a MySQL database. 
     23 * MessageSource_Database class. 
     24 * 
     25 * Retrive the message translation from a database. 
    2626 * 
    2727 * See the MessageSource::factory() method to instantiate this class. 
     
    195195                $command->bindParameter(':moddate',$time,PDO::PARAM_INT); 
    196196                $command->bindParameter(':catid',$cat_id,PDO::PARAM_INT); 
    197                 $command->execute(); 
     197                $result=$command->execute(); 
    198198 
    199199                if(!empty($this->cache)) 
     
    236236                foreach($messages as $message) 
    237237                { 
     238                        if (empty($message)) continue; 
    238239                        $count++; $inserted++; 
    239240                        $command->execute();