Author: witekfl                      Date: Wed Mar 12 15:59:05 2008 GMT
Module: PLD-doc                       Tag: HEAD
---- Log message:
- stupid bug (unnecessary test leading to a filemtime error)

---- Files affected:
PLD-doc/PLD_www_res/buildlogs.sql:
   addlog.php (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: PLD-doc/PLD_www_res/buildlogs.sql/addlog.php
diff -u PLD-doc/PLD_www_res/buildlogs.sql/addlog.php:1.7 
PLD-doc/PLD_www_res/buildlogs.sql/addlog.php:1.8
--- PLD-doc/PLD_www_res/buildlogs.sql/addlog.php:1.7    Fri Nov 30 12:17:30 2007
+++ PLD-doc/PLD_www_res/buildlogs.sql/addlog.php        Wed Mar 12 16:59:00 2008
@@ -64,7 +64,7 @@
 } catch (PDOException $e) {
        die ($e->getMessage());
 }
-$result = $dbh->query("SELECT log_id FROM logs WHERE spec = '$spec_name' AND 
arch_id = $arch_id AND result = $result_id LIMIT 1")->fetchAll();
+$result = $dbh->query("SELECT log_id FROM logs WHERE spec = '$spec_name' AND 
arch_id = $arch_id LIMIT 1")->fetchAll();
 if (count($result) == 1) {
        foreach ($result as $row) {
                $query = "UPDATE logs SET result = $result_id, size = $size, 
mtime = $mtime WHERE log_id = $row[log_id]";
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/PLD-doc/PLD_www_res/buildlogs.sql/addlog.php?r1=1.7&r2=1.8&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to