svn: /web/doc-editor/trunk/php/ File.php
| From: | Yannick Torres | Date: | Mon, 17 Jan 2011 21:23:13 +0000 |
| Subject: | svn: /web/doc-editor/trunk/php/ File.php | ||
| Groups: | php.doc.web | ||
| Request: | Send a blank email to doc-web+get-1953@lists.php.net to get a copy of this message | ||
yannick Mon, 17 Jan 2011 21:23:13 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=307547
Log:
Return more information from DB when we retrieve a file from work table
Changed paths:
U web/doc-editor/trunk/php/File.php
Modified: web/doc-editor/trunk/php/File.php
===================================================================
--- web/doc-editor/trunk/php/File.php 2011-01-17 21:22:23 UTC (rev 307546)
+++ web/doc-editor/trunk/php/File.php 2011-01-17 21:23:13 UTC (rev 307547)
@@ -304,8 +304,11 @@
$s = sprintf(
'SELECT
+
id as fidDB,
user,
- anonymousIdent
+ anonymousIdent,
+ module as fromModule,
+ type as ftype
FROM
work
WHERE
@@ -319,8 +322,6 @@
$hereName
);
- //echo $s;
-
$r = DBConnection::getInstance()->query($s);
if( $r->num_rows == 0 ) {