PostfixAdmin for BananaNetwork - to apply required patches before release or release in async to the official version https://github.com/postfixadmin/postfixadmin
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Christian Boltz 954b18c169 functions.inc.php
- create_page_browser(): revert r1387 and...
- db_query(): ...replace it with the correct fix ;-) (avoid mysqli 
  reconnects)

The problem was that db_query() used is_resource() to check if we
already have a database connection, but a mysqli connection is an
object, not a resource.
This resulted in a new database connection for each query. Therefore
mysqli "forgot" the value of SET @row before executing the following
SELECT query (which used a new mysqli connection).

The fix is to also check with is_object() to avoid mysqli reconnects.


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1388 a1433add-5e2c-0410-b055-b7f2511e0802
12 years ago
ADDITIONS ADDITIONS/delete-mailq-by-domain.pl, 13 years ago
DOCUMENTS SUPERADMIN.txt: 13 years ago
VIRTUAL_VACATION patch from Jan Kruis - see http://sourceforge.net/tracker/?func=detail&aid=3520749&group_id=191583&atid=937966 (Tracker id 3520749) ; thank you! 12 years ago
admin Finally got rid of admin/ :-) 17 years ago
configs create-alias.php: 13 years ago
css added quota level percentage display 13 years ago
debian Updating trunk also to current Debian packaging... 12 years ago
images added quota level percentage display 13 years ago
languages de.lang, it.lang: 12 years ago
model PFAHandler: 12 years ago
scripts PFAHandler: 12 years ago
smarty update smarty from 3.0.7 to 3.1.5 13 years ago
templates templates/list-virtual_alias.tpl: 12 years ago
tests this will probably migrate us to phpunit; stupid dev env is misbehaving though so it is hard to test 14 years ago
users MailboxHandler: 12 years ago
CHANGELOG.TXT Paperwork ;-) 13 years ago
GPL-LICENSE.TXT Initial Import in SourceForge 18 years ago
INSTALL.TXT various documentation updates: 14 years ago
LICENSE.TXT LICENSE.TXT: 13 years ago
backup.php sql injection fix - ported back to trunk from branches/2.3 ... 13 years ago
broadcast-message.php sendmail.php, broadcast-message.php: 13 years ago
calendar.js - big merge of Postfixadmin smarty into trunk 15 years ago
common.php Remove getInstance calls; not needed as we use ::write 13 years ago
config.inc.php patch from Jan Kruis - see http://sourceforge.net/tracker/?func=detail&aid=3520749&group_id=191583&atid=937966 (Tracker id 3520749) ; thank you! 12 years ago
create-mailbox.php create-mailbox: 13 years ago
delete.php delete.php: 13 years ago
edit-active.php list-virtual_alias_domain.tpl: 13 years ago
edit-mailbox.php config.inc.php 13 years ago
edit.php edit.php: 12 years ago
fetchmail.php fetchmail.php: 13 years ago
functions.inc.php functions.inc.php 12 years ago
index.php login.php, index.php: 15 years ago
list-admin.php functions.inc.php: 12 years ago
list-domain.php functions.inc.php: 12 years ago
list-virtual.php list-virtual: 12 years ago
login.php Merge template for admin login and user login 13 years ago
logout.php - added/fixed vim: lines to nearly all *.php files (exception: templates/*) 16 years ago
main.php - big merge of Postfixadmin smarty into trunk 15 years ago
password.php edit-alias.php, edit-domain.php, edit-vacation.php, 13 years ago
sendmail.php sendmail.php, broadcast-message.php: 13 years ago
setup.php setup.php 13 years ago
smarty.inc.php smarty.inc.php: some fixes after the Smarty upgrade: 13 years ago
upgrade.php Merge jan-kruis's vacation interval reply behaviour - see SF patch 3508083 - https://sourceforge.net/tracker/?func=detail&aid=3508083&group_id=191583&atid=937966 ; Thank you 12 years ago
vacation.php patch from Jan Kruis - see http://sourceforge.net/tracker/?func=detail&aid=3520749&group_id=191583&atid=937966 (Tracker id 3520749) ; thank you! 12 years ago
variables.inc.php variables.inc.php: 13 years ago
viewlog.php edit-alias.php, edit-domain.php, edit-vacation.php, 13 years ago
xmlrpc.php MailboxHandler: 12 years ago