Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

SS7.0模版中运行sql语句的分页显示有问题

[复制链接]
michi 发表于 2009-4-16 12:26:39 | 显示全部楼层 |阅读模式
本帖最后由 michi 于 2009-4-16 12:34 编辑

在模版中运行sql语句时系统调用block_sql.func.php中的function runsql($paramarr, $bbsdb='')

但是这个函数中$theblockarr['multipage']这个变量没有传出去,造成无法在模版中显示分页信息。

目前我的解决方法是改block_sql.func.php返回
return array($sqlstring, $listcount, $theblockarr['multipage']);
然后在block.func.php中所有runsql这里
list($sqlstring, $listcount, $theblockarr['multipage']) = runsql($paramarr);

希望官方竟快解决这个问题
紫琼 发表于 2009-4-16 13:40:23 | 显示全部楼层
稍后发布的补丁会解决这个问题~
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-2-24 04:36 , Processed in 0.024023 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表