projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63c551f
)
bug mysql_errno prend un link et pas une ressource
author
x2000habouzit
<x2000habouzit>
Wed, 4 Feb 2004 22:28:41 +0000
(22:28 +0000)
committer
x2000habouzit
<x2000habouzit>
Wed, 4 Feb 2004 22:28:41 +0000
(22:28 +0000)
include/xorg.page.inc.php
patch
|
blob
|
blame
|
history
diff --git
a/include/xorg.page.inc.php
b/include/xorg.page.inc.php
index
814c9bb
..
d05967b
100644
(file)
--- a/
include/xorg.page.inc.php
+++ b/
include/xorg.page.inc.php
@@
-59,7
+59,7
@@
class XorgPage extends DiogenesCorePage {
function mysql_assign($sql_query,$var_name,$var_nb_name='') {
$sql = mysql_query($sql_query);
- if(mysql_errno(
$sql
))
+ if(mysql_errno())
return(mysql_error($sql));
$array = Array();